diff options
author | LASER-Yi <[email protected]> | 2022-08-29 21:33:22 +0800 |
---|---|---|
committer | LASER-Yi <[email protected]> | 2022-08-29 21:33:22 +0800 |
commit | 34d61853469415d2ba5bfe242336f15b6a064ad5 (patch) | |
tree | 3a6d61a1ac8050bce3d8f87c85aa5af9af3188a1 /frontend/.husky | |
parent | c2c0cbda0b85b541e96b95ae828525c75c41ec4d (diff) | |
download | bazarr-34d61853469415d2ba5bfe242336f15b6a064ad5.tar.gz bazarr-34d61853469415d2ba5bfe242336f15b6a064ad5.zip |
no log: Add pattern parameter to the pretty-quick hook to limit the effective scope
Diffstat (limited to 'frontend/.husky')
-rwxr-xr-x | frontend/.husky/pre-commit | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/.husky/pre-commit b/frontend/.husky/pre-commit index 3f1364f9c..71a781c99 100755 --- a/frontend/.husky/pre-commit +++ b/frontend/.husky/pre-commit @@ -3,5 +3,5 @@ [ -n "$CI" ] && exit 0 -cd frontend -npx pretty-quick --staged +cd frontend || exit +npx pretty-quick --staged --pattern "frontend/**/*.*" |