Skip to content

Commit fa871b0

Browse files
authored
fix: add --no-verify to initial git commit (#5540)
1 parent 0809fc8 commit fa871b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli/lib/Creator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ module.exports = class Creator extends EventEmitter {
241241
}
242242
const msg = typeof cliOptions.git === 'string' ? cliOptions.git : 'init'
243243
try {
244-
await run('git', ['commit', '-m', msg])
244+
await run('git', ['commit', '-m', msg, '--no-verify'])
245245
} catch (e) {
246246
gitCommitFailed = true
247247
}

0 commit comments

Comments
 (0)