Use "node" as binary instead of "nodejs".

"nodejs" does not exist on Travis, it appears.
This commit is contained in:
Josh Haberman 2016-02-05 15:07:15 -08:00
parent 35298f9779
commit 59ea5000bb

View File

@ -45,7 +45,7 @@ gulp.task('make_commonjs_out', ['dist', 'genproto_commonjs', 'commonjs_asserts']
// Will require proper externs/exports.
var cmd = "mkdir -p commonjs_out/binary && ";
function addTestFile(file) {
cmd += 'nodejs commonjs/rewrite_tests_for_commonjs.js < ' + file +
cmd += 'node commonjs/rewrite_tests_for_commonjs.js < ' + file +
' > commonjs_out/' + file + '&& ';
}