From 434fb1707877f3ce0bca58b1b10e2bb0f8d7c02a Mon Sep 17 00:00:00 2001 From: Anton Troshin Date: Tue, 19 Nov 2024 10:50:13 -0600 Subject: [PATCH] Fix path replace Signed-off-by: Anton Troshin --- src/installer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installer.ts b/src/installer.ts index 2298a24..66d4c95 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -228,7 +228,7 @@ async function cacheWindowsDir( const actualCacheDirectoryPaths = cacheDirectoryPaths.map(path => { return { defaultPath: path, - actualPath: path.replace('D:', 'C:').replace('d:', 'c:') + actualPath: path.replace('C:', 'D:').replace('c:', 'd:') }; });