[REQUIRED] Environment info
firebase-tools: 9.22.0
Platform: Mac
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
- Create new firebase project, e.g. named "a-project-with-no-apps"
firebase use a-project-with-no-apps
firebase apps:sdkconfig web --json
[REQUIRED] Expected behavior
The JSON output indicates "Project a-project-with-no-apps has no apps. Create an app first." or similar.
[REQUIRED] Actual behavior
Output for this example project "a-project-with-no-apps" is:
{
"status": "error",
"error": "Project a-project-with-no-apps has multiple apps, must specify an app id."
}
which is misleading - the command can't produce output in this non-interactive mode because there are 0 apps, not multiple apps.
[REQUIRED] Environment info
firebase-tools: 9.22.0
Platform: Mac
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
firebase use a-project-with-no-appsfirebase apps:sdkconfig web --json[REQUIRED] Expected behavior
The JSON output indicates "Project a-project-with-no-apps has no apps. Create an app first." or similar.
[REQUIRED] Actual behavior
Output for this example project "a-project-with-no-apps" is:
which is misleading - the command can't produce output in this non-interactive mode because there are 0 apps, not multiple apps.