Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
BG-133 change cache clean by cache verify
Browse files Browse the repository at this point in the history
  • Loading branch information
organom committed Apr 3, 2019
1 parent 3388a23 commit 73efb13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -677,9 +677,8 @@ private static bool InstallNode()
nodeenv.Add("NPM_CONFIG_PREFIX", rootFolder);
nodeenv.Add("PYTHON", pythonFile);
//run NPM upgrade
result = Helper.StartAndCheckReturn(npmPath, "cache clean","", "", nodeenv) &&
result = Helper.StartAndCheckReturn(npmPath, "cache verify","", "", nodeenv) &&
Helper.StartAndCheckReturn(npmPath, "install -g npm@latest", "", "", nodeenv) &&
Helper.StartAndCheckReturn(npmPath, "cache clean","", "", nodeenv) &&
Helper.StartAndCheckReturn(npmPath, "install -g node-gyp", "", "", nodeenv);
}
}
Expand Down

0 comments on commit 73efb13

Please sign in to comment.