mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Style tweaks
This commit is contained in:
parent
ba035f7dd0
commit
91b7d5373a
9 changed files with 165 additions and 370 deletions
|
@ -100,8 +100,7 @@ void printValueAsJSON(EvalState & state, bool strict,
|
|||
void ExternalValueBase::printValueAsJSON(EvalState & state, bool strict,
|
||||
JSONPlaceholder & out, PathSet & context) const
|
||||
{
|
||||
auto e = TypeError("cannot convert %1% to JSON", showType());
|
||||
state.debugThrowLastTrace(e);
|
||||
state.debugThrowLastTrace(TypeError("cannot convert %1% to JSON", showType()));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue