Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update pre-install step

  • Loading branch information...
commit 453feb7bfbd37fbbdf57376f64de9c9e103223da 1 parent 78447e7
@tjanczuk authored
Showing with 9 additions and 2 deletions.
  1. +8 −1 checkplatform.js
  2. +1 −1  package.json
View
9 checkplatform.js
@@ -1 +1,8 @@
-require('./lib/tripwire.js');
+try {
+ require('./lib/tripwire.js');
+}
+catch (e) {
+ console.log('***************************************');
+ console.log(e);
+ console.log('***************************************');
+}
View
2  package.json
@@ -25,6 +25,6 @@
"url" : "http://github.com/tjanczuk/tripwire/issues"
},
"scripts": {
- "install": "node checkplatform.js"
+ "preinstall": "node checkplatform.js"
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.