mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
Style
This commit is contained in:
parent
fa614fac7f
commit
504e3b2a8f
1 changed files with 2 additions and 3 deletions
|
@ -709,12 +709,11 @@ struct CmdFlakeInitCommon : virtual Args, EvalCommand
|
|||
auto templateDirAttr = cursor->getAttr("path");
|
||||
auto templateDir = templateDirAttr->getString();
|
||||
|
||||
if (!store->isInStore(templateDir)) {
|
||||
if (!store->isInStore(templateDir))
|
||||
throw TypeError(
|
||||
std::string("'%s' was not found in the Nix store\n") +
|
||||
"'%s' was not found in the Nix store\n"
|
||||
"If you've set '%s' to a string, try using a path instead.",
|
||||
templateDir, templateDirAttr->getAttrPathStr());
|
||||
}
|
||||
|
||||
std::vector<Path> files;
|
||||
|
||||
|
|
Loading…
Reference in a new issue