We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69a81bc commit a3574e8Copy full SHA for a3574e8
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