From c6aac2897f652a2f36028eb5fc80a499beff573f Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Thu, 16 Sep 2021 04:07:57 -0500 Subject: [PATCH] fix: return on msvc installation for other os --- src/msvc/msvc.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/msvc/msvc.ts b/src/msvc/msvc.ts index bf58fb4d..94afdf92 100644 --- a/src/msvc/msvc.ts +++ b/src/msvc/msvc.ts @@ -29,6 +29,9 @@ export async function setupMSVC( spectre?: boolean, arch = osArch() ): Promise { + if (process.platform !== "win32") { + return + } let toolset: string | undefined let VCTargetsPath: string | undefined if (version === "2015") {