fix: reject antigravity auth in non-interactive onboarding mode
This commit is contained in:
parent
7e91c28f59
commit
fe5367eba6
@ -98,8 +98,8 @@ export async function runNonInteractiveOnboarding(
|
|||||||
await setAnthropicApiKey(key);
|
await setAnthropicApiKey(key);
|
||||||
} else if (authChoice === "minimax") {
|
} else if (authChoice === "minimax") {
|
||||||
nextConfig = applyMinimaxConfig(nextConfig);
|
nextConfig = applyMinimaxConfig(nextConfig);
|
||||||
} else if (authChoice === "oauth") {
|
} else if (authChoice === "oauth" || authChoice === "antigravity") {
|
||||||
runtime.error("OAuth requires interactive mode.");
|
runtime.error(`${authChoice === "oauth" ? "OAuth" : "Antigravity"} requires interactive mode.`);
|
||||||
runtime.exit(1);
|
runtime.exit(1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user