Try to make tests work again

This commit is contained in:
Girish Ramakrishnan
2017-04-23 17:39:43 -07:00
parent 29ae2cf8ca
commit a0e122e578
7 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ function exec(tag, file, args, callback) {
cp.on('exit', function (code, signal) {
if (code || signal) debug(tag + ' code: %s, signal: %s', code, signal);
if (code === 0) return callback();
if (code === 0) return callback(null);
var e = new Error(util.format(tag + ' exited with error %s signal %s', code, signal));
e.code = code;