diff options
author | Liang Yi <[email protected]> | 2021-09-01 00:36:39 +0800 |
---|---|---|
committer | Liang Yi <[email protected]> | 2021-09-01 00:36:39 +0800 |
commit | c11483ecc1be444154ef4e638ea107c4fd3674d4 (patch) | |
tree | b5163bda35278a89614073ac49de3f2b380051b1 | |
parent | 706039af646a85fb66f11b6514dd12337858bf95 (diff) | |
download | bazarr-c11483ecc1be444154ef4e638ea107c4fd3674d4.tar.gz bazarr-c11483ecc1be444154ef4e638ea107c4fd3674d4.zip |
no log: Fix a protential issue which may crash the release pipelinev0.9.8
-rwxr-xr-x | frontend/.husky/pre-commit | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/.husky/pre-commit b/frontend/.husky/pre-commit index c306ede8a..3f1364f9c 100755 --- a/frontend/.husky/pre-commit +++ b/frontend/.husky/pre-commit @@ -1,5 +1,7 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -cd frontend || exit +[ -n "$CI" ] && exit 0 + +cd frontend npx pretty-quick --staged |