fix: return on msvc installation for other os

This commit is contained in:
Amin Yahyaabadi 2021-09-16 04:07:57 -05:00
parent 0d2f513d36
commit c6aac2897f
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@ export async function setupMSVC(
spectre?: boolean,
arch = osArch()
): Promise<void> {
if (process.platform !== "win32") {
return
}
let toolset: string | undefined
let VCTargetsPath: string | undefined
if (version === "2015") {