diff --git a/.husky/pre-commit b/.husky/pre-commit index f3f510d27..399367d73 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,6 @@ -npx lint-staged +if [[ "$OS" == "Windows_NT" ]]; then + npx.cmd lint-staged +else + npx lint-staged +fi npm run typecheck