diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100644 new mode 100755 index a8866207a..6b8a399e4 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,9 +1,4 @@ -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 +#!/usr/bin/env bash + +npx lint-staged +npx tsx scripts/check-unused-i18n-keys.ts \ No newline at end of file