Apply suggestions from code review

Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
This commit is contained in:
tomberek 2022-05-18 21:18:07 -04:00 committed by Tom Bereknyei
parent 1ca3f6035d
commit 9f8c1183fa

View file

@ -896,11 +896,12 @@ struct CmdRepl : InstallablesCommand
evalSettings.pureEval = false; evalSettings.pureEval = false;
} }
std::vector<std::string> files; std::vector<std::string> files;
Strings getDefaultFlakeAttrPaths() Strings getDefaultFlakeAttrPaths() override
override { {
return {""}; return {""};
} }
virtual bool useDefaultInstallables() { virtual bool useDefaultInstallables() override
{
return file.has_value() or expr.has_value(); return file.has_value() or expr.has_value();
} }