Simplify a conditional in the repl initialisation

This commit is contained in:
Théophane Hufschmitt 2024-02-08 09:22:30 +01:00 committed by GitHub
parent 155bc761f6
commit d24c8aa491
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -255,9 +255,7 @@ void NixRepl::mainLoop()
notice("Nix %1%%2%\nType :? for help.", nixVersion, debuggerNotice);
}
if (isFirstRepl) {
isFirstRepl = false;
}
loadFiles();