← All tasks
javascriptapache/streampark #4354Not a task: not reproduced

[Bug] Fix invalid Prettier arguments in lint-staged config

envgap__apache__streampark-4354

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
8ac8d4d4dd714537aba65070a63175dca2bf9e77
Manifest
streampark-console/streampark-console-webapp/package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

apache/streampark #4354 · read the original issue
## Description

The frontend lint-staged configuration contains an invalid Prettier command:

`prettier --write--parser json`

Because the space between `--write` and `--parser` is missing, Prettier interprets it as an unknown option and prints:

`Ignored unknown option --write--parser=json.`

## Expected behavior

Use the valid command:

`prettier --write --parser json`

## Scope

This is a one-line frontend configuration fix in `streampark-console/streampark-console-webapp/package.json`.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]