Skip to content

Commit 60ea334

Browse files
authored
fix path replacement on windows (#464)
1 parent 90bcea6 commit 60ea334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/runTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ function buildTestCommandArgs(args: RunTestArgs, debug: boolean): string[] {
250250
// TODO remove this when we require elixir 1.17
251251
const path =
252252
os.platform() === "win32"
253-
? args.filePath.replace("\\", "/")
253+
? args.filePath.replace(/\\/g, "/")
254254
: args.filePath;
255255
result.push(`${path}${line}`);
256256
}

0 commit comments

Comments
 (0)