Permalink
Browse files

update pre-install step

  • Loading branch information...
1 parent 78447e7 commit 453feb7bfbd37fbbdf57376f64de9c9e103223da @tjanczuk committed Jul 11, 2012
Showing with 9 additions and 2 deletions.
  1. +8 −1 checkplatform.js
  2. +1 −1 package.json
View
@@ -1 +1,8 @@
-require('./lib/tripwire.js');
+try {
+ require('./lib/tripwire.js');
+}
+catch (e) {
+ console.log('***************************************');
+ console.log(e);
+ console.log('***************************************');
+}
View
@@ -25,6 +25,6 @@
"url" : "http://github.com/tjanczuk/tripwire/issues"
},
"scripts": {
- "install": "node checkplatform.js"
+ "preinstall": "node checkplatform.js"
}
}

0 comments on commit 453feb7

Please sign in to comment.