Skip to content

Commit

Permalink
Fix support for WSL when Windows isn't mounted in /mnt/ (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaskuske committed Jan 7, 2021
1 parent fe91dea commit a3bbadc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module.exports = async (target, options) => {
}

if (app) {
if (isWsl && app.startsWith('/mnt/')) {
if (isWsl && app.startsWith('/')) {
const windowsPath = await wslToWindowsPath(app);
app = windowsPath;
}
Expand Down

0 comments on commit a3bbadc

Please sign in to comment.