mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
Remove unnecessary parentheses
This commit is contained in:
parent
d6d5885c15
commit
f3dda728a4
1 changed files with 2 additions and 2 deletions
|
@ -2730,10 +2730,10 @@ void DerivationGoal::registerOutputs()
|
|||
for (auto & i : used)
|
||||
if (allowed) {
|
||||
if (spec.find(i) == spec.end())
|
||||
throw BuildError(format("output (‘%1%’) is not allowed to refer to path ‘%2%’") % actualPath % i);
|
||||
throw BuildError(format("output ‘%1%’ is not allowed to refer to path ‘%2%’") % actualPath % i);
|
||||
} else {
|
||||
if (spec.find(i) != spec.end())
|
||||
throw BuildError(format("output (‘%1%’) is not allowed to refer to path ‘%2%’") % actualPath % i);
|
||||
throw BuildError(format("output ‘%1%’ is not allowed to refer to path ‘%2%’") % actualPath % i);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue