Run linking script only if present

This commit is contained in:
Wesley Wigham 2015-09-25 10:59:01 -07:00
parent b866781609
commit c88ba9bbe9

View file

@ -46,7 +46,7 @@
"build:tests": "jake tests",
"clean": "jake clean",
"jake": "jake",
"postinstall": "node scripts/link-hooks.js"
"postinstall": "echo \"try {require('./scripts/link-hooks.js')} catch (e) {console.log('Script not found, git hooks not installed.')}\" | node"
},
"browser": {
"buffer": false,