Skip to content

Commit

Permalink
fix: quote the arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Sep 17, 2021
1 parent 3f0939b commit ed2713e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/msvc/msvc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ export async function setupMSVC(
toolset = "14.16"
await setupChocoPack("visualstudio2017buildtools", "15.9.38.0", [
"--package-parameters",
"--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive",
"'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'",
])
VCTargetsPath = "C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16" // TODO verify path
} else if (version === "2019") {
toolset = "14.29.30133"
await setupChocoPack("visualstudio2019buildtools", "16.11.2.0", [
"--package-parameters",
"--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive",
"'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'",
])
VCTargetsPath = "C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"
}
Expand Down

0 comments on commit ed2713e

Please sign in to comment.