We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c62850 commit 78c3ae5Copy full SHA for 78c3ae5
scripts/setup.js
@@ -2,9 +2,9 @@ const { test, ln, chmod } = require('shelljs')
2
3
function installHooks () {
4
if (test('-e', '.git/hooks')) {
5
- ln('-sf', '../../build/git-hooks/pre-commit', '.git/hooks/pre-commit')
+ ln('-sf', '../../scripts/git-hooks/pre-commit', '.git/hooks/pre-commit')
6
chmod('+x', '.git/hooks/pre-commit')
7
- ln('-sf', '../../build/git-hooks/commit-msg', '.git/hooks/commit-msg')
+ ln('-sf', '../../scripts/git-hooks/commit-msg', '.git/hooks/commit-msg')
8
chmod('+x', '.git/hooks/commit-msg')
9
}
10
0 commit comments