diff options
author | isaacs <i@izs.me> | 2011-12-01 01:28:13 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-12-01 01:28:13 +0400 |
commit | be4d9fc2bb73d0e38f262e6cc5619ecb32bb13b8 (patch) | |
tree | 4f522dfbe07f577077c16c032bee97f9796f6204 /lib/utils/read-json.js | |
parent | 31dba66ae19c3cee0b5b7e42807b5a02918a2b81 (diff) |
use (exit 0) instead of 'true'
Diffstat (limited to 'lib/utils/read-json.js')
-rw-r--r-- | lib/utils/read-json.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/read-json.js b/lib/utils/read-json.js index e71128c1b..68e5c2564 100644 --- a/lib/utils/read-json.js +++ b/lib/utils/read-json.js @@ -304,7 +304,7 @@ function processObject (opts, cb) { return function (er, json) { log.verbose([json.prebuilt, opts], "has wscript") if (!scripts.install && !scripts.preinstall) { // don't fail if it was unexpected, just try. - scripts.preinstall = "node-waf clean || true; node-waf configure build" + scripts.preinstall = "node-waf clean || (exit 0); node-waf configure build" json.scripts = scripts } } |