no log: Add pattern parameter to the pretty-quick hook to limit the effective scope

pull/1934/head
LASER-Yi 2 years ago
parent c2c0cbda0b
commit 34d6185346

@ -3,5 +3,5 @@
[ -n "$CI" ] && exit 0
cd frontend
npx pretty-quick --staged
cd frontend || exit
npx pretty-quick --staged --pattern "frontend/**/*.*"

Loading…
Cancel
Save