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