mirror of
https://github.com/penpot/penpot.git
synced 2026-08-28 07:38:42 +00:00
🔧 Fix backend format check script in CI
The backend format check was using 'check-fmt' instead of 'check-fmt:clj', causing CI to always fail on the fmt step. Closes #11358 AI-assisted-by: longcat-2.0
This commit is contained in:
parent
33f13f9bfd
commit
33e39bc7ed
@ -45,24 +45,24 @@ declare -A TEST_CMD=(
|
|||||||
|
|
||||||
declare -A FMT_CHECK_CMD=(
|
declare -A FMT_CHECK_CMD=(
|
||||||
[frontend]="pnpm run check-fmt:clj && pnpm run check-fmt:js && pnpm run check-fmt:scss"
|
[frontend]="pnpm run check-fmt:clj && pnpm run check-fmt:js && pnpm run check-fmt:scss"
|
||||||
[backend]="pnpm run check-fmt"
|
[backend]="pnpm run check-fmt:clj"
|
||||||
[common]="pnpm run check-fmt:clj && pnpm run check-fmt:js"
|
[common]="pnpm run check-fmt:clj && pnpm run check-fmt:js"
|
||||||
[render-wasm]="cargo fmt --check"
|
[render-wasm]="cargo fmt --check"
|
||||||
[exporter]="pnpm run check-fmt:clj"
|
[exporter]="pnpm run check-fmt:clj"
|
||||||
[mcp]="pnpm run fmt:check"
|
[mcp]="pnpm run fmt:check"
|
||||||
[plugins]="pnpm run format:check"
|
[plugins]="pnpm run format:check"
|
||||||
[library]="pnpm run check-fmt"
|
[library]="pnpm run check-fmt:clj"
|
||||||
)
|
)
|
||||||
|
|
||||||
declare -A FMT_FIX_CMD=(
|
declare -A FMT_FIX_CMD=(
|
||||||
[frontend]="pnpm run fmt:clj && pnpm run fmt:js && pnpm run fmt:scss"
|
[frontend]="pnpm run fmt:clj && pnpm run fmt:js && pnpm run fmt:scss"
|
||||||
[backend]="pnpm run fmt"
|
[backend]="pnpm run fmt:clj"
|
||||||
[common]="pnpm run fmt:clj && pnpm run fmt:js"
|
[common]="pnpm run fmt:clj && pnpm run fmt:js"
|
||||||
[render-wasm]="cargo fmt"
|
[render-wasm]="cargo fmt"
|
||||||
[exporter]="pnpm run fmt:clj"
|
[exporter]="pnpm run fmt:clj"
|
||||||
[mcp]="pnpm run fmt"
|
[mcp]="pnpm run fmt"
|
||||||
[plugins]="pnpm run format"
|
[plugins]="pnpm run format"
|
||||||
[library]="pnpm run fmt"
|
[library]="pnpm run fmt:clj"
|
||||||
)
|
)
|
||||||
|
|
||||||
declare -A PAREN_REPAIR_CMD=(
|
declare -A PAREN_REPAIR_CMD=(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user