Lint scripts dir

This commit is contained in:
David Baker
2020-02-17 14:49:26 +00:00
parent 046170e3ec
commit 5fc72e8f73
9 changed files with 21 additions and 26 deletions

View File

@@ -17,7 +17,7 @@ limitations under the License.
const path = require('path');
const url = require('url');
const fsProm = require('fs').promises;
const child_process = require('child_process');
const childProcess = require('child_process');
const npm = require('npm');
const semver = require('semver');
@@ -91,7 +91,7 @@ async function fetch(hakEnv, moduleInfo) {
console.log("Running yarn install in " + moduleInfo.moduleBuildDir);
await new Promise((resolve, reject) => {
const proc = child_process.spawn(
const proc = childProcess.spawn(
hakEnv.isWin() ? 'yarn.cmd' : 'yarn',
['install', '--ignore-scripts'],
{