mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-22 18:33:44 +08:00
ci(husky): 将钩子脚本从v8迁移至v9
This commit is contained in:
parent
20f6c4bf19
commit
9bba935676
|
@ -1,6 +1,3 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
if [[ "$OS" == "Windows_NT" ]]; then
|
||||
npx.cmd --no-install commitlint -e $GIT_PARAMS
|
||||
else
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
if [[ "$OS" == "Windows_NT" ]]; then
|
||||
npx.cmd lint-staged
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user