set proper path to exe on win

This commit is contained in:
Chad Bentz
2023-05-05 00:03:32 -04:00
parent 6dc027ab22
commit df3fb46172
+1 -1
View File
@@ -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.