Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

fix: display login URL instead of instance URL for scratch orgs #1432

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/sfpowerscripts-cli/src/ui/OrgInfoDisplayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export default class OrgInfoDisplayer {
});
table.push([COLOR_HEADER(`Org Id`), COLOR_KEY_MESSAGE(scratchOrg.orgId)]);
table.push([
COLOR_HEADER(`Instance URL`),
COLOR_KEY_MESSAGE(scratchOrg.instanceURL),
COLOR_HEADER(`Login URL`),
COLOR_KEY_MESSAGE(scratchOrg.loginURL),
]);
table.push([
COLOR_HEADER(`Username`),
Expand Down Expand Up @@ -85,7 +85,7 @@ export default class OrgInfoDisplayer {
alignment: [Align.Left, Align.Left, Align.Left, Align.Right],
};
tableData.table.body.push([`Org Id`, scratchOrg.orgId]);
tableData.table.body.push([`Instance URL`, scratchOrg.instanceURL]);
tableData.table.body.push([`Login URL`, scratchOrg.loginURL]);
tableData.table.body.push([`Username`, scratchOrg.username]);
tableData.table.body.push([`Password`, scratchOrg.password]);
tableData.table.body.push([`Auth URL`, scratchOrg.sfdxAuthUrl]);
Expand Down