Skip to content

Commit 01cee5f

Browse files
committed
update os check
1 parent 6edaa6e commit 01cee5f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/testResultsSummary.unit.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ describe('summaryGeneration', () => {
3333

3434
// Get OS information and set paths
3535
const os = require('os').platform().toLowerCase();
36+
console.log('Detected OS:', os);
3637
let osName = "";
3738
let workspaceParent = "";
3839

39-
if (os.includes("win")) {
40+
if (os.includes("win") && !os.includes("darwin")) {
4041
osName = "windows";
4142
workspaceParent = "C:\\";
4243
} else if (os.includes("linux") || os.includes("unix") || os.includes("aix")) {

0 commit comments

Comments
 (0)