Skip to content

Commit dec90df

Browse files
committed
fix: ask internal about url, not domain
1 parent 55f5a42 commit dec90df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/force/org/open.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class OrgOpenCommand extends SfdxCommand {
6969
private async checkLightningDomain(url: string): Promise<void> {
7070
const domain = `https://${/https?:\/\/([^.]*)/.exec(url)[1]}.lightning.force.com`;
7171
const timeout = new Duration(new Env().getNumber('SFDX_DOMAIN_RETRY', 240), Duration.Unit.SECONDS);
72-
if (sfdc.isInternalUrl(domain) || timeout.seconds === 0) {
72+
if (sfdc.isInternalUrl(url) || timeout.seconds === 0) {
7373
return;
7474
}
7575

0 commit comments

Comments
 (0)