aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/command.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-08-17 14:39:50 -0600
committerBen Burdette <bburdette@gmail.com>2021-08-17 14:39:50 -0600
commitb6eb38016b9d16cf206f3f2b0cd4bce4dea40345 (patch)
tree3df3fa0cfe9cbe4d9e458a842f05977181f4c908 /src/libcmd/command.cc
parent030271184fecbbe9dd871b71d92c61e163254646 (diff)
moving towards env in exceptions
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 86b6f37f8..59ab1f874 100644
--- a/src/libcmd/command.cc
+++ b/src/libcmd/command.cc
@@ -105,7 +105,7 @@ ref<EvalState> EvalCommand::getEvalState()
if (!evalState) {
evalState = std::make_shared<EvalState>(searchPath, getStore());
if (startReplOnEvalErrors)
- debuggerHook = [evalState{ref<EvalState>(evalState)}](const Error & error, const std::map<std::string, Value *> & env) {
+ debuggerHook = [evalState{ref<EvalState>(evalState)}](const Error & error, const Env & env) {
printError("%s\n\n" ANSI_BOLD "Starting REPL to allow you to inspect the current state of the evaluator.\n" ANSI_NORMAL, error.what());
runRepl(evalState, env);
};