diff options
| author | Pyush Sinha <[email protected]> | 2025-07-05 23:27:00 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-06 06:27:00 +0000 |
| commit | 39e8509452b359774cc363a7e98810e48ec516a4 (patch) | |
| tree | 84807b28a1be51bfd89212114244559c241f5d64 /packages/cli/src/gemini.tsx | |
| parent | da9b1baa6e64ac9c83c988b580d45423ce7d574d (diff) | |
feat: add user startup warnings, add home directory check (#3056)
Diffstat (limited to 'packages/cli/src/gemini.tsx')
| -rw-r--r-- | packages/cli/src/gemini.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/cli/src/gemini.tsx b/packages/cli/src/gemini.tsx index 7bd062ac..11ae1505 100644 --- a/packages/cli/src/gemini.tsx +++ b/packages/cli/src/gemini.tsx @@ -22,6 +22,7 @@ import { } from './config/settings.js'; import { themeManager } from './ui/themes/theme-manager.js'; import { getStartupWarnings } from './utils/startupWarnings.js'; +import { getUserStartupWarnings } from './utils/userStartupWarnings.js'; import { runNonInteractive } from './nonInteractiveCli.js'; import { loadExtensions, Extension } from './config/extension.js'; import { cleanupCheckpoints } from './utils/cleanup.js'; @@ -165,7 +166,10 @@ export async function main() { } } let input = config.getQuestion(); - const startupWarnings = await getStartupWarnings(); + const startupWarnings = [ + ...(await getStartupWarnings()), + ...(await getUserStartupWarnings(workspaceRoot)), + ]; // Render UI, passing necessary config values. Check that there is no command line question. if (process.stdin.isTTY && input?.length === 0) { |
