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.