Ver código fonte

chore(custom): 构建测试

linyuanjie 3 meses atrás
pai
commit
c80d23e5aa
2 arquivos alterados com 3 adições e 3 exclusões
  1. 2 2
      .husky/commit-msg
  2. 1 1
      .husky/pre-commit

+ 2 - 2
.husky/commit-msg

@@ -1,4 +1,4 @@
 #!/usr/bin/env sh
-. "$(dirname "$0")/h"
+. "$(dirname -- "$0")/_/husky.sh"
 
-npx --no-install commitlint --edit ""
+npx --no-install commitlint --edit ""

+ 1 - 1
.husky/pre-commit

@@ -1,5 +1,5 @@
 #!/usr/bin/env sh
-. "$(dirname "$0")/h"
+. "$(dirname -- "$0")/_/husky.sh"
 
 # 获取当前分支名
 branch_name=$(git rev-parse --abbrev-ref HEAD)