Skip to content

Commit

Permalink
use (exit 0) instead of 'true'
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Nov 30, 2011
1 parent 31dba66 commit be4d9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/read-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit be4d9fc

Please sign in to comment.