Skip to content

Commit 435c6e1

Browse files
author
timmydoza
authored
Fix --override flag (#10)
1 parent cf7cbad commit 435c6e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/commands/rtc/apps/video/deploy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ class DeployCommand extends TwilioClientCommand {
2424
} else {
2525
console.log('A Video app is already deployed. Use the --override flag to override the existing deployment.');
2626
await displayAppInfo.call(this);
27+
return;
2728
}
28-
} else {
29-
await deploy.call(this);
30-
await displayAppInfo.call(this);
3129
}
30+
await deploy.call(this);
31+
await displayAppInfo.call(this);
3232
}
3333
}
3434

0 commit comments

Comments
 (0)