fix(3p/nix): Fix incorrectly braced conditionals and loops
Fixes mistakes introduced by clang-tidy in the previous commit.
This commit is contained in:
parent
b490742a51
commit
09cbc431cc
16 changed files with 62 additions and 61 deletions
7
third_party/nix/src/libexpr/get-drvs.cc
vendored
7
third_party/nix/src/libexpr/get-drvs.cc
vendored
|
|
@ -387,11 +387,10 @@ static void getDerivations(EvalState& state, Value& vIn,
|
|||
}
|
||||
|
||||
else {
|
||||
throw
|
||||
throw TypeError(
|
||||
"expression does not evaluate to a derivation (or a set or list of "
|
||||
"those)");
|
||||
}
|
||||
TypeError(
|
||||
"expression does not evaluate to a derivation (or a set or list of "
|
||||
"those)");
|
||||
}
|
||||
|
||||
void getDerivations(EvalState& state, Value& v, const string& pathPrefix,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue