Commit 718965bf authored by shangbj's avatar shangbj

1

parent 745e0da4
......@@ -15,7 +15,7 @@ const path = require('path')
// console.log('stdout',stdout)
// console.log('stderr',stderr)
// })
console.log('______', process.env.GIT_PUSH_OPTION_COUNT, process.env.GIT_PUSH_OPTION_N)
console.log('______', process.env.GIT_PUSH_OPTION_COUNT, process.env.GIT_PUSH_OPTION_0)
// let stream = ''
// if (process.platform === 'win32') {
// // husky不支持配置.git/hooks/xx 中的sh脚本
......
......@@ -13,7 +13,7 @@
"husky": {
"hooks": {
"commit-msg": "node ./build/hooks.js $HUSKY_GIT_PARAMS $HUSKY_GIT_STDIN $GIT_INTERNAL_GETTEXT_SH_SCHEME $GIT_AUTHOR_EMAIL",
"pre-push": "node ./build/push.js $GIT_PUSH_OPTION_COUNT $GIT_PUSH_OPTION_N"
"pre-push": "node ./build/push.js $GIT_PUSH_OPTION_COUNT $GIT_PUSH_OPTION_0"
}
},
"keywords": [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment