mirror of
https://github.com/google-gemini/gemini-cli
synced 2026-05-24 09:38:34 +00:00
Fix(cli): Improve Homebrew update instruction to specify gemini-cli (#14502)
This commit is contained in:
parent
d5e5f58737
commit
46bb07e4b7
2 changed files with 4 additions and 2 deletions
|
|
@ -149,7 +149,9 @@ describe('getInstallationInfo', () => {
|
|||
);
|
||||
expect(info.packageManager).toBe(PackageManager.HOMEBREW);
|
||||
expect(info.isGlobal).toBe(true);
|
||||
expect(info.updateMessage).toContain('brew upgrade');
|
||||
expect(info.updateMessage).toBe(
|
||||
'Installed via Homebrew. Please update with "brew upgrade gemini-cli".',
|
||||
);
|
||||
});
|
||||
|
||||
it('should fall through if brew command fails', () => {
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ export function getInstallationInfo(
|
|||
packageManager: PackageManager.HOMEBREW,
|
||||
isGlobal: true,
|
||||
updateMessage:
|
||||
'Installed via Homebrew. Please update with "brew upgrade".',
|
||||
'Installed via Homebrew. Please update with "brew upgrade gemini-cli".',
|
||||
};
|
||||
} catch (_error) {
|
||||
// Brew is not installed or gemini-cli is not installed via brew.
|
||||
|
|
|
|||
Loading…
Reference in a new issue