From fe17a32d0681c07ced3c18b679706b02b41deb37 Mon Sep 17 00:00:00 2001 From: Yuki Hattori Date: Mon, 23 Sep 2024 03:48:30 +0900 Subject: [PATCH] Fix including unexpected paths while finding Edge on WSL1 --- src/browser/finders/edge.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/finders/edge.ts b/src/browser/finders/edge.ts index 20996a3c..4c582b3a 100644 --- a/src/browser/finders/edge.ts +++ b/src/browser/finders/edge.ts @@ -88,7 +88,7 @@ const edgeFinderWSL1 = async () => { return await edgeFinderWin32({ programFiles: '/mnt/c/Program Files', programFilesX86: '/mnt/c/Program Files (x86)', - localAppData: localAppData && resolveWSLPathToGuestSync(localAppData), + localAppData: localAppData ? resolveWSLPathToGuestSync(localAppData) : '', join: path.posix.join, }) }