firebase-tools icon indicating copy to clipboard operation
firebase-tools copied to clipboard

`firebase use --unalias` doesn't work with Firebase Data Connect VS Code extension installed

Open aalej opened this issue 1 year ago • 0 comments

[REQUIRED] Environment info

firebase-tools: v13.22.1

Platform: macOS Sonoma 14.7

Firebase Data Connect VS Code extension: v0.10.5

[REQUIRED] Test case

N/A

[REQUIRED] Steps to reproduce

  1. Install the Firebase Data Connect VS Code extension
  2. Open up VS Code then open the VS Code terminal
  3. Run firebase init <PRODUCT> --project PROJECT_ID
    • You can choose any product, I chose hosting
  4. .firebaserc would look like:
{
  "projects": {
    "default": "<PROJECT_ID>"
  },
  "targets": {},
  "etags": {}
}
  1. Run firebase use --unalias default

[REQUIRED] Expected behavior

Projects to be cleared, .firebaserc to look like:

{
  "projects": {},
  "targets": {},
  "etags": {}
}

[REQUIRED] Actual behavior

Projects are not cleared, .firebaserc looks like nothing changed:

{
  "projects": {
    "default": "<PROJECT_ID>"
  },
  "targets": {},
  "etags": {}
}

aalej avatar Oct 22 '24 16:10 aalej