Skip to content

Commit 7bf78b4

Browse files
authored
Allow pre_run_cell to modify cell
1 parent 1748062 commit 7bf78b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/iruby/kernel.rb

+1
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ def execute_request(msg)
189189
unless silent
190190
exec_info = ExecutionInfo.new(code, store_history, silent)
191191
events.trigger(:pre_run_cell, exec_info)
192+
code = exec_info.raw_cell
192193
end
193194

194195
content = {

0 commit comments

Comments
 (0)