From 0010aa07c3b62e25a2156bc342e0385dfe525e4f Mon Sep 17 00:00:00 2001 From: Martin Lingstuyl Date: Wed, 26 Mar 2025 23:40:54 +0100 Subject: [PATCH] Fix issue with missing slash in path The current implementation leads to a path like `_downloads/node20.completed` instead of `_downloads/node20/.completed`. I've changed this to match the way the node.exe filename is joined to the `downloadDestination` path. --- node/mock-test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/mock-test.ts b/node/mock-test.ts index 56e432879..01a5b23b3 100644 --- a/node/mock-test.ts +++ b/node/mock-test.ts @@ -262,7 +262,7 @@ export class MockTestRunner { } // Write marker to indicate download completed. - const marker = downloadDestination + '.completed'; + const marker = path.join(downloadDestination, '.completed'); fs.writeFileSync(marker, ''); return downloadPath }