aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/command.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-10-22 14:27:04 -0600
committerBen Burdette <bburdette@gmail.com>2021-10-22 14:27:04 -0600
commite54f17eb46bc487abc38e70dfc2f1c617fb59d32 (patch)
treef57d0be12d6b472ed0aacc6ffef92aec3bae3593 /src/libcmd/command.cc
parentcbc2f0fe31576a6403e179bdbbaf9aefa113555b (diff)
remove more debug code
Diffstat (limited to 'src/libcmd/command.cc')
-rw-r--r--src/libcmd/command.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcmd/command.cc b/src/libcmd/command.cc
index 8d5098bc7..8a6dd71b2 100644
--- a/src/libcmd/command.cc
+++ b/src/libcmd/command.cc
@@ -67,7 +67,6 @@ extern std::function<void(const Error & error, const Env & env, const Expr & exp
ref<EvalState> EvalCommand::getEvalState()
{
- std::cout << "EvalCommand::getEvalState()" << startReplOnEvalErrors << std::endl;
if (!evalState) {
evalState = std::make_shared<EvalState>(searchPath, getStore());
if (startReplOnEvalErrors)
@@ -80,7 +79,7 @@ ref<EvalState> EvalCommand::getEvalState()
expr.show(std::cout);
std::cout << std::endl;
- if (expr.staticenv)
+ if (expr.staticenv)
{
auto vm = mapStaticEnvBindings(*expr.staticenv.get(), env);
runRepl(evalState, *vm);