You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 490b68c
Browse filesBrowse the repository at this point in the historyBrowse files
fix(schematics): read the signed-in account on firebase-tools 15.26+ (#3769)
firebase-tools 15.26 runs non-interactively when it detects an AI
agent or when stdin is not a terminal, and in that mode login()
returns undefined instead of the signed-in account. `ng add` and
`ng deploy` crashed reading `.email` from it.
getActiveAccount passes `interactive: true`, which returns the account
without a prompt once one is signed in. The `firebase login` and
`firebase login:add` commands setup starts get `--interactive` for the
same reason. Setup no longer passes its options to login(), since they
carry the Angular project name, which firebase-tools rejects as a
project id for names like `myApp`.
The Quickstart stops telling readers to install firebase-tools 14, and
says what a stopped run leaves behind.
Fixes#3768
The Quickstart changes are left out, since docs are not backported.
(cherry picked from commit 38dfc3f)
0 commit comments