Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

update pre-install step

  • Loading branch information...
commit 453feb7bfbd37fbbdf57376f64de9c9e103223da 1 parent 78447e7
Tomasz Janczuk authored

Showing 2 changed files with 9 additions and 2 deletions. Show diff stats Hide diff stats

  1. +8 1 checkplatform.js
  2. +1 1  package.json
9 checkplatform.js
... ... @@ -1 +1,8 @@
1   -require('./lib/tripwire.js');
  1 +try {
  2 + require('./lib/tripwire.js');
  3 +}
  4 +catch (e) {
  5 + console.log('***************************************');
  6 + console.log(e);
  7 + console.log('***************************************');
  8 +}
2  package.json
@@ -25,6 +25,6 @@
25 25 "url" : "http://github.com/tjanczuk/tripwire/issues"
26 26 },
27 27 "scripts": {
28   - "install": "node checkplatform.js"
  28 + "preinstall": "node checkplatform.js"
29 29 }
30 30 }

0 comments on commit 453feb7

Please sign in to comment.
Something went wrong with that request. Please try again.