Skip to content

Commit a3574e8

Browse files
jkzinglovelope
authored andcommitted
chore: fix setup script (vuejs#7364)
1 parent 69a81bc commit a3574e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/setup.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ const { test, ln, chmod } = require('shelljs')
22

33
function installHooks () {
44
if (test('-e', '.git/hooks')) {
5-
ln('-sf', '../../build/git-hooks/pre-commit', '.git/hooks/pre-commit')
5+
ln('-sf', '../../scripts/git-hooks/pre-commit', '.git/hooks/pre-commit')
66
chmod('+x', '.git/hooks/pre-commit')
7-
ln('-sf', '../../build/git-hooks/commit-msg', '.git/hooks/commit-msg')
7+
ln('-sf', '../../scripts/git-hooks/commit-msg', '.git/hooks/commit-msg')
88
chmod('+x', '.git/hooks/commit-msg')
99
}
1010
}

0 commit comments

Comments
 (0)