mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
[fix] move i18n pre-commit check inside Windows conditional block (#4353)
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
if [[ "$OS" == "Windows_NT" ]]; then
|
if [[ "$OS" == "Windows_NT" ]]; then
|
||||||
npx.cmd lint-staged
|
npx.cmd lint-staged
|
||||||
|
# Check for unused i18n keys in staged files
|
||||||
|
npx.cmd tsx scripts/check-unused-i18n-keys.ts
|
||||||
else
|
else
|
||||||
npx lint-staged
|
npx lint-staged
|
||||||
|
# Check for unused i18n keys in staged files
|
||||||
|
npx tsx scripts/check-unused-i18n-keys.ts
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for unused i18n keys in staged files
|
|
||||||
npx tsx scripts/check-unused-i18n-keys.ts
|
|
||||||
|
|||||||
Reference in New Issue
Block a user