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
|
|
@ -228,9 +228,8 @@ static void prim_fetchGit(EvalState& state, const Pos& pos, Value** args,
|
|||
throw EvalError(format("'url' argument required, at %1%") % pos);
|
||||
|
||||
} else {
|
||||
url
|
||||
url = state.coerceToString(pos, *args[0], context, false, false);
|
||||
}
|
||||
= state.coerceToString(pos, *args[0], context, false, false);
|
||||
|
||||
// FIXME: git externals probably can be used to bypass the URI
|
||||
// whitelist. Ah well.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue