Browse files

Merge pull request #92 from ryanhughes/package-install

Fix npm error running webdriver-manager when it's not installed
  • Loading branch information...
2 parents b820191 + de7b1cb commit 46813b8ff7150b377517f82b21df0761f058c2c3 @nicjansma nicjansma committed on GitHub Jun 26, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 package.json
View
2 package.json
@@ -51,7 +51,7 @@
},
"scripts": {
"test": "grunt test",
- "install": "node node_modules/protractor/bin/webdriver-manager update"
+ "install": "if [ -e node_modules/protractor/bin/webdriver-manager ]; then node node_modules/protractor/bin/webdriver-manager update; fi"
},
"repository": {
"type": "git",

0 comments on commit 46813b8

Please sign in to comment.