We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c2e890 commit c70bc40Copy full SHA for c70bc40
src/command.ts
@@ -370,7 +370,12 @@ export class Command {
370
private async applyRC(options: Options) {
371
const rc = loadRC(options);
372
options.rc = rc;
373
- let activeProject = this.configstoreProject(options.projectRoot || process.cwd());
+
374
+ let activeProject: string | undefined;
375
+ if (this.name !== "init") {
376
+ activeProject = this.configstoreProject(options.projectRoot || process.cwd()) ?? undefined;
377
+ }
378
379
380
// Only fetch the Studio Workspace project if we're running in Firebase
381
// Studio. If the user passes the project via --project, it should take
0 commit comments