refactor: enum casing (#19946)

This commit is contained in:
Jason Rasmussen
2025-07-15 14:50:13 -04:00
committed by GitHub
parent 920d7de349
commit e73abe0762
174 changed files with 2675 additions and 2459 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ export const updateConfig = async (repos: RepoDeps, newConfig: SystemConfig): Pr
_.set(partialConfig, property, newValue);
}
await metadataRepo.set(SystemMetadataKey.SYSTEM_CONFIG, partialConfig);
await metadataRepo.set(SystemMetadataKey.SystemConfig, partialConfig);
return getConfig(repos, { withCache: false });
};
@@ -83,7 +83,7 @@ const buildConfig = async (repos: RepoDeps) => {
// load partial
const partial = configFile
? await loadFromFile(repos, configFile)
: await metadataRepo.get(SystemMetadataKey.SYSTEM_CONFIG);
: await metadataRepo.get(SystemMetadataKey.SystemConfig);
// merge with defaults
const rawConfig = _.cloneDeep(defaults);