Skip to content

Commit bd685ed

Browse files
Lint
1 parent 301ca34 commit bd685ed

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/commands/studio-export.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@ export const command = new Command("studio:export <path>")
1313
"Bootstrap Firebase Studio apps for migration to Antigravity. Run on the unzipped folder from the Firebase Studio download, or directly on the downloaded zip file.",
1414
)
1515
.option("--no-start-antigravity", "skip starting the Antigravity IDE after migration")
16+
.option("--no-start-agy", "skip starting the Antigravity IDE after migration (deprecated alias)")
1617
.action(async (exportPath: string, options: Options) => {
1718
experiments.assertEnabled("studioexport", "export Studio apps");
1819
if (!exportPath) {
1920
throw new FirebaseError("Must specify a path for migration.", { exit: 1 });
2021
}
2122

23+
if (!options.startAgy) {
24+
options.startAntigravity = false;
25+
}
26+
2227
let rootPath = path.resolve(exportPath);
2328

2429
if (fs.existsSync(rootPath) && fs.statSync(rootPath).isFile() && rootPath.endsWith(".zip")) {

src/firebase_studio/migrate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ async function injectAntigravityContext(
260260
async function assertSystemState(startAntigravity?: boolean): Promise<void> {
261261
// Assertion: Check for Antigravity (antigravity)
262262
// If we're not starting the IDE, skip the check.
263-
if (startAntigravity === false) {
263+
if (!startAntigravity) {
264264
return;
265265
}
266266
try {
@@ -486,7 +486,7 @@ async function askToOpenAntigravity(
486486
startAntigravity?: boolean,
487487
): Promise<void> {
488488
// 8. Open in Antigravity (Optional)
489-
if (startAntigravity === false) {
489+
if (!startAntigravity) {
490490
logger.info(
491491
'\n👉 Next steps: Open this folder in Antigravity and run the "Initial Project Setup" workflow.',
492492
);

0 commit comments

Comments
 (0)