From 4c4178e8bd1ba8b3c5d290d92d11f6e3e9289273 Mon Sep 17 00:00:00 2001 From: Yavor Ivanov Date: Fri, 26 Apr 2024 15:29:35 +0300 Subject: [PATCH] fix: Paths for windows --- test/lib/linter/_linterHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/linter/_linterHelper.ts b/test/lib/linter/_linterHelper.ts index 796fd1944..3de488eb5 100644 --- a/test/lib/linter/_linterHelper.ts +++ b/test/lib/linter/_linterHelper.ts @@ -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; }