From 0c0af67f89b610eb61e4f66a5dbf665474aa9383 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 25 Nov 2022 19:04:30 -0500 Subject: refactor: `DenoDir` - move to cache folder and make `root_dir` private (#16823) --- cli/tools/repl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tools/repl') diff --git a/cli/tools/repl/mod.rs b/cli/tools/repl/mod.rs index 597b3ff5f..1cdb17ab1 100644 --- a/cli/tools/repl/mod.rs +++ b/cli/tools/repl/mod.rs @@ -89,7 +89,7 @@ pub async fn run( sync_sender: rustyline_channel.0, }; - let history_file_path = ps.dir.root.join("deno_history.txt"); + let history_file_path = ps.dir.repl_history_file_path(); let editor = ReplEditor::new(helper, history_file_path)?; if let Some(eval_files) = maybe_eval_files { -- cgit v1.2.3