summaryrefslogtreecommitdiff
path: root/cli/ops/repl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/ops/repl.rs')
-rw-r--r--cli/ops/repl.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/ops/repl.rs b/cli/ops/repl.rs
index d2fe5ebe9..c87f7dc5c 100644
--- a/cli/ops/repl.rs
+++ b/cli/ops/repl.rs
@@ -35,8 +35,8 @@ fn op_repl_start(
let args: ReplStartArgs = serde_json::from_value(args)?;
debug!("op_repl_start {}", args.history_file);
let history_path = {
- let cli_state = super::cli_state(state);
- repl::history_path(&cli_state.global_state.dir, &args.history_file)
+ let cli_state = super::global_state(state);
+ repl::history_path(&cli_state.dir, &args.history_file)
};
let repl = repl::Repl::new(history_path);
let resource = ReplResource(Arc::new(Mutex::new(repl)));