mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-05 10:51:12 -07:00
feat(settings): rename negative settings to positive naming (disable* -> enable*) (#14142)
Co-authored-by: jacob314 <jacob314@gmail.com>
This commit is contained in:
@@ -30,13 +30,13 @@ export function handleAutoUpdate(
|
||||
return;
|
||||
}
|
||||
|
||||
if (settings.merged.general.disableUpdateNag) {
|
||||
if (!settings.merged.general.enableAutoUpdateNotification) {
|
||||
return;
|
||||
}
|
||||
|
||||
const installationInfo = getInstallationInfo(
|
||||
projectRoot,
|
||||
settings.merged.general.disableAutoUpdate,
|
||||
settings.merged.general.enableAutoUpdate,
|
||||
);
|
||||
|
||||
if (
|
||||
@@ -58,7 +58,7 @@ export function handleAutoUpdate(
|
||||
|
||||
if (
|
||||
!installationInfo.updateCommand ||
|
||||
settings.merged.general.disableAutoUpdate
|
||||
!settings.merged.general.enableAutoUpdate
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user