forked from lix-project/lix
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)
|
for (auto & i : used)
|
||||||
if (allowed) {
|
if (allowed) {
|
||||||
if (spec.find(i) == spec.end())
|
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 {
|
} else {
|
||||||
if (spec.find(i) != spec.end())
|
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