aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/command.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-12-20 12:32:21 -0700
committerBen Burdette <bburdette@gmail.com>2021-12-20 12:32:21 -0700
commitf317019edda7afac8590e68d4d979b03a2cdbf62 (patch)
tree7720ebe8cc936b5d801acdad65d34591b6ef615e /src/libcmd/command.cc
parentc151a9b4262dfc5fc251ed0ebcf862731b0f795c (diff)
:d error
Diffstat (limited to 'src/libcmd/command.cc')
-rw-r--r--src/libcmd/command.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/command.cc b/src/libcmd/command.cc
index 2e00b42ff..b37959a2e 100644
--- a/src/libcmd/command.cc
+++ b/src/libcmd/command.cc
@@ -82,7 +82,7 @@ ref<EvalState> EvalCommand::getEvalState()
if (expr.staticenv)
{
auto vm = mapStaticEnvBindings(*expr.staticenv.get(), env);
- runRepl(evalState, *vm);
+ runRepl(evalState, ref<const Error>(&error), *vm);
}
};
}