Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const {setHooksFromConfig} = require('./simple-git-hooks')

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

console.log('[INFO] Successfully set all git hooks')
1 change: 1 addition & 0 deletions simple-git-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const VALID_GIT_HOOKS = [
'applypatch-msg',
'commit-msg',
'fsmonitor-watchman',
'post-merge',
'post-update',
'pre-applypatch',
'pre-commit',
Expand Down