Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 5, 2025

Conversation

christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Jul 4, 2025

Fixes Windows compatibility issue with the i18n unused keys check in pre-commit hook by using npx.cmd on Windows. Addresses review feedback from #4328.

┆Issue is synchronized with this Notion page by Unito

Addresses PR review feedback to ensure the i18n unused keys check works properly on Windows by using npx.cmd instead of npx, following the same pattern as lint-staged.
@christian-byrne christian-byrne requested a review from a team as a code owner July 4, 2025 23:56
@christian-byrne christian-byrne merged commit 8f4e807 into main Jul 5, 2025
9 checks passed
@christian-byrne christian-byrne deleted the fix/windows-i18n-precommit-hook branch July 5, 2025 00:25
christian-byrne added a commit that referenced this pull request Jul 7, 2025
…uLabels ignore pattern

- Replace bash-specific [[ syntax with POSIX [ in pre-commit hook
- Add menuLabels.* to ignore patterns for dynamically constructed translation keys
- Fixes CI failures introduced in PR #4353 where [[  syntax fails in sh environment
This was referenced Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant