Skip to content

Commit

Permalink
Allow pre_run_cell to modify cell
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-dumit authored Mar 22, 2022
1 parent 1748062 commit 7bf78b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/iruby/kernel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def execute_request(msg)
unless silent
exec_info = ExecutionInfo.new(code, store_history, silent)
events.trigger(:pre_run_cell, exec_info)
code = exec_info.raw_cell
end

content = {
Expand Down

0 comments on commit 7bf78b4

Please sign in to comment.