Fix: clean up code

This commit is contained in:
Brenden Harrell committed 2021-05-23 20:24:06 -05:00
1 parent e2ff7ecac6
commit df1fb3f0ef
2 files changed
+8 -9

No files matched your search

+3 -5
View File
@@ -37,14 +37,12 @@ console.log('');
console.log(nodeModulesDirs);
console.log('');
let dir;
for (dir in nodeModulesDirs) {
for (let dir of nodeModulesDirs) {
// Loop through directories and run npm ci in a child process shell.
let command = "echo Results of install at "+ nodeModulesDirs[dir] + " & npm ci";
let command = "echo Results of install at "+ dir + " & npm ci";
exec( command,
{
cwd: nodeModulesDirs[dir]
cwd: dir
},
function ( error, stdout ){
if (error) {