Skip to content

Commit

Permalink
Fix including unexpected paths while finding Edge on WSL1
Browse files Browse the repository at this point in the history
  • Loading branch information
yhatt committed Sep 22, 2024
1 parent 5cd5a6f commit fe17a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/finders/edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
}

0 comments on commit fe17a32

Please sign in to comment.