mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-03 22:56:48 -07:00
Move settings error throwing to loadSettings (#7605)
This commit is contained in:
committed by
GitHub
parent
54c8f6ae1e
commit
ad539bcb87
@@ -60,7 +60,7 @@ const WARNING_CHECKS: readonly WarningCheck[] = [
|
||||
];
|
||||
|
||||
export async function getUserStartupWarnings(
|
||||
workspaceRoot: string,
|
||||
workspaceRoot: string = process.cwd(),
|
||||
): Promise<string[]> {
|
||||
const results = await Promise.all(
|
||||
WARNING_CHECKS.map((check) => check.check(workspaceRoot)),
|
||||
|
||||
Reference in New Issue
Block a user