There was an error while loading. Please reload this page.
1 parent f7f6a8c commit f7f0650Copy full SHA for f7f0650
1 file changed
src/testResultsSummary.unit.test.ts
@@ -62,7 +62,7 @@ describe('Artifact Processing Tests', () => {
62
63
function getOSInfo() {
64
const os = require('os').platform().toLowerCase();
65
- if (os.includes("win")) return { osName: "windows", workspaceParent: "C:\\" };
+ if (os.includes("win") && !os.includes("darwin")) return { osName: "windows", workspaceParent: "C:\\" };
66
if (os.includes("linux") || os.includes("unix") || os.includes("aix")) return { osName: "linux", workspaceParent: "/home/user/" };
67
if (os.includes("darwin")) return { osName: "mac", workspaceParent: "/Users/username/" };
68
throw new Error(`Unsupported OS: ${os}`);
0 commit comments