Skip to content

Commit d6b6ce5

Browse files
authored
Merge pull request #35 from ddialar/master
chore/add-new-hook
2 parents d998587 + e76d7c4 commit d6b6ce5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ const {setHooksFromConfig} = require('./simple-git-hooks')
88

99
try {
1010
setHooksFromConfig(process.cwd())
11+
console.log('[INFO] Successfully set all git hooks')
1112
} catch (e) {
1213
console.log('[ERROR], Was not able to set git hooks. Error: ' + e)
1314
}
1415

15-
console.log('[INFO] Successfully set all git hooks')

simple-git-hooks.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const VALID_GIT_HOOKS = [
66
'applypatch-msg',
77
'commit-msg',
88
'fsmonitor-watchman',
9+
'post-merge',
910
'post-update',
1011
'pre-applypatch',
1112
'pre-commit',

0 commit comments

Comments
 (0)