Skip to content

Commit

Permalink
fix: correctly exec launchEmulator when no port param is passed (#1802)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamTrz authored Jan 19, 2023
1 parent 3da5f75 commit 0c237f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const launchEmulator = async (

const cp = execa(
emulatorCommand,
[`@${emulatorName}`, port ? '-port' : '', port ? `${port}` : ''],
port ? [`@${emulatorName}`, '-port', `${port}`] : [`@${emulatorName}`],
{
detached: true,
stdio: 'ignore',
Expand Down

0 comments on commit 0c237f6

Please sign in to comment.