summaryrefslogtreecommitdiff
path: root/.husky/pre-commit
diff options
context:
space:
mode:
Diffstat (limited to '.husky/pre-commit')
-rw-r--r--.husky/pre-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit
index 36af219..d7230e9 100644
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
-npx lint-staged
+npx lint-staged && cd api-src && npx tsc && git add ../api