Skip to content

Commit

Permalink
Fix the app argument with WSL (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy authored Jan 30, 2023
1 parent 05ba9e1 commit 4cf1a6d
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 @@ -120,7 +120,7 @@ const baseOpen = async options => {
if (app) {
cliArguments.push('-a', app);
}
} else if (platform === 'win32' || (isWsl && !isDocker())) {
} else if (platform === 'win32' || (isWsl && !isDocker() && !app)) {
const mountPoint = await getWslDrivesMountPoint();

command = isWsl ?
Expand Down

0 comments on commit 4cf1a6d

Please sign in to comment.