Skip to content

Commit

Permalink
feat: remove unnecessary error
Browse files Browse the repository at this point in the history
  • Loading branch information
k-capehart committed Dec 20, 2023
1 parent 3089130 commit 0d83459
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/commands/org/login/sfdx-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,6 @@ export default class LoginSfdxUrl extends AuthBaseCommand<AuthFields> {
}
} else if (authStdin) {
sfdxAuthUrl = authStdin;

if (!sfdxAuthUrl) {
throw new Error(
'Error getting the auth URL from stdin. Please ensure it meets the description shown in the documentation for this command.'
);
}
} else {
throw new Error('Please include either the --sfdx-url-stdin or --sfdx-url-file flags.');
}
Expand Down

0 comments on commit 0d83459

Please sign in to comment.