Skip to content

Commit 2c1647d

Browse files
authored
Fix Docker in WSL2 for real (#168)
1 parent 79a90bf commit 2c1647d

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
@@ -62,7 +62,7 @@ module.exports = async (target, options) => {
6262
if (options.app) {
6363
cliArguments.push('-a', options.app);
6464
}
65-
} else if (process.platform === 'win32' || (isWsl && !isDocker)) {
65+
} else if (process.platform === 'win32' || (isWsl && !isDocker())) {
6666
command = 'cmd' + (isWsl ? '.exe' : '');
6767
cliArguments.push('/s', '/c', 'start', '""', '/b');
6868

0 commit comments

Comments
 (0)