Skip to content

Commit

Permalink
fix: add --no-verify to initial git commit (#5540)
Browse files Browse the repository at this point in the history
  • Loading branch information
fxxjdedd committed Jun 1, 2020
1 parent 0809fc8 commit fa871b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli/lib/Creator.js
Expand Up @@ -241,7 +241,7 @@ module.exports = class Creator extends EventEmitter {
}
const msg = typeof cliOptions.git === 'string' ? cliOptions.git : 'init'
try {
await run('git', ['commit', '-m', msg])
await run('git', ['commit', '-m', msg, '--no-verify'])
} catch (e) {
gitCommitFailed = true
}
Expand Down

0 comments on commit fa871b0

Please sign in to comment.