Skip to content

Commit

Permalink
fixup brace
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc committed Jul 18, 2024
1 parent bca99ec commit c670c7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nixd/lib/Eval/AttrSetProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,8 @@ void AttrSetProvider::onAttrPathInfo(
using RespT = AttrPathInfoResponse;
Reply([&]() -> llvm::Expected<RespT> {
try {
if (AttrPath.empty()) {
if (AttrPath.empty())
return error("attrpath is empty!");
}

nix::Value &V = nixt::selectStrings(state(), Nixpkgs, AttrPath);
state().forceValue(V, nix::noPos);
Expand Down

0 comments on commit c670c7c

Please sign in to comment.