diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-08 08:18:53 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-08 08:18:53 +0100 |
| commit | 91788279c9ad2712910c611887438920be0581f1 (patch) | |
| tree | 89813625678358726677baf5230dca6c483e2b2c /.husky | |
| parent | c3950f3de28e7ac1e677f4006521ffbed5db4ee0 (diff) | |
Cleans api folder on pre-commit
Diffstat (limited to '.husky')
| -rw-r--r-- | .husky/pre-commit | 2 |
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 |
