From a6726a1523a1a7f56b8271fb4c064e0ba4e4720f Mon Sep 17 00:00:00 2001 From: Amir Rajan Date: Mon, 16 Sep 2019 00:53:02 +0200 Subject: synced. --- dragon/console.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dragon/console.rb b/dragon/console.rb index 3bd3e0b..a232fb9 100644 --- a/dragon/console.rb +++ b/dragon/console.rb @@ -268,7 +268,7 @@ I've written the current command at the top of a file called ./repl.rb (right ne S if @last_command_written_to_repl_rb != @current_input_str @last_command_written_to_repl_rb = @current_input_str - contents = $gtk.read_file 'repl.rb' + contents = $gtk.read_file 'app/repl.rb' contents ||= '' contents = <<-S + contents @@ -279,8 +279,8 @@ end S $gtk.suppress_hotload = true - $gtk.write_file 'repl.rb', contents - $gtk.reload_if_needed 'repl.rb', true + $gtk.write_file 'app/repl.rb', contents + $gtk.reload_if_needed 'app/repl.rb', true $gtk.suppress_hotload = false end -- cgit v1.2.3