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 Dec 12, 2017
1 parent 122c475 commit b3bf3d4
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 @@ -56,7 +56,7 @@
"version": "echo \"use 'npm run release' to bump axe-core version\" && exit 1",
"release": "standard-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 b3bf3d4

Please sign in to comment.