diff --git a/index.js b/index.js index c6da9b4..5fe49ad 100644 --- a/index.js +++ b/index.js @@ -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');