Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set isDevHub when --setdefaultdevhubusername is passed #375

Merged
merged 1 commit into from
Mar 30, 2022

Conversation

WillieRuemmele
Copy link
Contributor

@WillieRuemmele WillieRuemmele commented Mar 30, 2022

What does this PR do?

sets isDevHub in the auth file

What issues does this PR fix or reference?

@W-10811265@
forcedotcom/cli#1423

@iowillhoit
Copy link
Contributor

Tested this as part of Parking Orbit, LGTM

Copy link
Member

@cristiand391 cristiand391 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA notes:

  1. Log out of dh:
➜  plugin-auth git:(wr/isDevHub) sfdx auth:logout -u cd --noprompt
Successfully logged out of orgs: test@my.org

checked that the auth file in ~/.sfdx was removed.

  1. Link plugin and auth:
sfdx auth:jwt:grant -u USERNAME -f KEY -i ID --setdefaultdevhubusername 

isDevHub is set to true ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants