mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 07:48:22 +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
|
if [[ "$OS" == "Windows_NT" ]]; then
|
||||||
npx.cmd --no-install commitlint -e $GIT_PARAMS
|
npx.cmd --no-install commitlint -e $GIT_PARAMS
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
#!/bin/sh
|
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
|
||||||
|
|
||||||
if [[ "$OS" == "Windows_NT" ]]; then
|
if [[ "$OS" == "Windows_NT" ]]; then
|
||||||
npx.cmd lint-staged
|
npx.cmd lint-staged
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user