Remove excess exports from exec.js

This commit is contained in:
Ron Buckton
2018-06-18 23:00:30 -07:00
parent 21c23d4e4e
commit ad4338dd76
3 changed files with 18 additions and 237 deletions

View File

@@ -5,7 +5,7 @@ const os = require("os");
const path = require("path");
const mkdirP = require("./mkdirp");
const cmdLineOptions = require("./options");
const { execAsync } = require("./exec");
const exec = require("./exec");
const runSequence = require("run-sequence");
const finished = require("./finished");
const log = require("fancy-log"); // was `require("gulp-util").log (see https://github.com/gulpjs/gulp-util)
@@ -103,7 +103,7 @@ function runConsoleTests(runJs, defaultReporter, runInParallel) {
args.push(runJs);
}
setNodeEnvToDevelopment();
return execAsync(host, [runJs]);
return exec(host, [runJs]);
})
.then(({ exitCode }) => {
if (exitCode !== 0) return finish(undefined, exitCode);