Skip to content

Commit

Permalink
fix: Paths for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Apr 26, 2024
1 parent 583e5ba commit 4c4178e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/linter/_linterHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function testDefinition(
const chunks = testName.split("/").slice(0, -1);

if (chunks.length > 0) {
results.filePath = path.join(...chunks, path.basename(results.filePath));
results.filePath = path.posix.join(...chunks, path.basename(results.filePath));
} else {
results.filePath = testName;
}
Expand Down

0 comments on commit 4c4178e

Please sign in to comment.