Format config-global.{cc,hh}

Since the code is factored out, it is no longer avoding the formatter.
This commit is contained in:
John Ericson 2024-06-24 12:07:08 -04:00
parent 1620ad4587
commit b46e13840b
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,8 @@ namespace nix {
bool GlobalConfig::set(const std::string & name, const std::string & value) bool GlobalConfig::set(const std::string & name, const std::string & value)
{ {
for (auto & config : *configRegistrations) for (auto & config : *configRegistrations)
if (config->set(name, value)) return true; if (config->set(name, value))
return true;
unknownSettings.emplace(name, value); unknownSettings.emplace(name, value);