mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
Format config-global.{cc,hh}
Since the code is factored out, it is no longer avoding the formatter.
This commit is contained in:
parent
1620ad4587
commit
b46e13840b
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user