From df3fb46172190730e47fda6b82161eefecfd7d82 Mon Sep 17 00:00:00 2001 From: Chad Bentz <1760475+felickz@users.noreply.github.com> Date: Fri, 5 May 2023 00:03:32 -0400 Subject: [PATCH] set proper path to exe on win --- componentDetection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/componentDetection.ts b/componentDetection.ts index 3d46c5f..5bec6be 100644 --- a/componentDetection.ts +++ b/componentDetection.ts @@ -18,7 +18,7 @@ import { unmockedModulePathPatterns } from './jest.config' dotenv.config(); export default class ComponentDetection { - public static componentDetectionPath = './component-detection'; + public static componentDetectionPath = process.platform === "win32" ? './component-detection.exe' : './component-detection'; public static outputPath = './output.json'; // This is the default entry point for this class.