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

fixes --project flag on init command #3902

Merged
merged 2 commits into from Nov 29, 2021
Merged

fixes --project flag on init command #3902

merged 2 commits into from Nov 29, 2021

Conversation

bkendall
Copy link
Contributor

Description

When checking for a default project, only use it if a project has not been passed in as an option.

Fixes #3870

Scenarios Tested

firebase init --project foo in a directory, then firebase init --project bar in the same directory and make sure it worked with bar that time.

@google-cla google-cla bot added the cla: yes Manual indication that this has passed CLA. label Nov 15, 2021
@bkendall bkendall merged commit d05e855 into master Nov 29, 2021
@bkendall bkendall deleted the bk-3870 branch November 29, 2021 18:47
devpeerapong pushed a commit to devpeerapong/firebase-tools that referenced this pull request Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Manual indication that this has passed CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Project specified with -P or --project is ignored when using init database
2 participants