diff --git a/src/commands/runTest.ts b/src/commands/runTest.ts index a29d32b..670ef85 100644 --- a/src/commands/runTest.ts +++ b/src/commands/runTest.ts @@ -250,7 +250,7 @@ function buildTestCommandArgs(args: RunTestArgs, debug: boolean): string[] { // TODO remove this when we require elixir 1.17 const path = os.platform() === "win32" - ? args.filePath.replace("\\", "/") + ? args.filePath.replace(/\\/g, "/") : args.filePath; result.push(`${path}${line}`); }