Skip to content

Commit a3bbadc

Browse files
authoredJan 7, 2021
Fix support for WSL when Windows isn't mounted in /mnt/ (#210)
1 parent fe91dea commit a3bbadc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ module.exports = async (target, options) => {
9292
}
9393

9494
if (app) {
95-
if (isWsl && app.startsWith('/mnt/')) {
95+
if (isWsl && app.startsWith('/')) {
9696
const windowsPath = await wslToWindowsPath(app);
9797
app = windowsPath;
9898
}

0 commit comments

Comments
 (0)
Please sign in to comment.