[fix] move i18n pre-commit check inside Windows conditional block (#4353)

This commit is contained in:
Christian Byrne
2025-07-04 17:25:04 -07:00
committed by GitHub
parent c1db367422
commit 8f4e807468

View File

@@ -1,8 +1,9 @@
if [[ "$OS" == "Windows_NT" ]]; then
npx.cmd lint-staged
# Check for unused i18n keys in staged files
npx.cmd tsx scripts/check-unused-i18n-keys.ts
else
npx lint-staged
# Check for unused i18n keys in staged files
npx tsx scripts/check-unused-i18n-keys.ts
fi
# Check for unused i18n keys in staged files
npx tsx scripts/check-unused-i18n-keys.ts