Skip to content

Commit

Permalink
Fix Docker in WSL2 for real (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
pluma committed Feb 1, 2020
1 parent 79a90bf commit 2c1647d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -62,7 +62,7 @@ module.exports = async (target, options) => {
if (options.app) {
cliArguments.push('-a', options.app);
}
} else if (process.platform === 'win32' || (isWsl && !isDocker)) {
} else if (process.platform === 'win32' || (isWsl && !isDocker())) {
command = 'cmd' + (isWsl ? '.exe' : '');
cliArguments.push('/s', '/c', 'start', '""', '/b');

Expand Down

0 comments on commit 2c1647d

Please sign in to comment.