Skip to content

Commit

Permalink
fix: copy precommit hook as file, not a link
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcy Sutton authored and marcysutton committed Aug 18, 2017
1 parent 9b3d199 commit 16f2f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"test-fast": "grunt test-fast",
"version": "node build/sri-update",
"prepublishOnly": "grunt build && node build/sri-update --validate",
"postinstall": "ln -s -f node_modules/angular-precommit/index.js .git/hooks/commit-msg"
"postinstall": "cd .git/hooks/ && cp ../../node_modules/angular-precommit/index.js commit-msg && cd ../../"
},
"devDependencies": {
"angular-precommit": "^1.0.3",
Expand Down

0 comments on commit 16f2f76

Please sign in to comment.