fix: use local tsc binary in pre-commit hook to avoid PATH issues (#71)
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ pre-commit:
|
|||||||
frontend-typecheck:
|
frontend-typecheck:
|
||||||
glob: "frontend/**/*.{ts,tsx}"
|
glob: "frontend/**/*.{ts,tsx}"
|
||||||
root: "frontend/"
|
root: "frontend/"
|
||||||
run: pnpm exec tsc --noEmit
|
run: ./node_modules/.bin/tsc --noEmit
|
||||||
|
|
||||||
pre-push:
|
pre-push:
|
||||||
parallel: true
|
parallel: true
|
||||||
|
|||||||
Reference in New Issue
Block a user