File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11name = " CodeTracking"
22uuid = " da1fd8a2-8d9e-5ec2-8556-3022fb5608a2"
33authors = [" Tim Holy <tim.holy@gmail.com>" ]
4- version = " 3.0.0 "
4+ version = " 3.0.1 "
55
66[deps ]
77InteractiveUtils = " b77e0a4c-d291-57a0-90e8-8db25a27a240"
Original file line number Diff line number Diff line change 336336
337337function src_from_REPL (origin:: AbstractString , repl = Base. active_repl)
338338 hist_idx = parse (Int, origin)
339- hp = repl. interface. modes[1 ]. hist
340- return hp. history[hp. start_idx+ hist_idx]
339+ hp = repl. interface. modes[1 ]. hist:: REPL.REPLHistoryProvider
340+ entry = hp. history[hp. start_idx+ hist_idx]
341+ @static if VERSION ≥ v " 1.13-"
342+ return entry. content
343+ else
344+ return entry
345+ end
341346end
342347
343348function basepath (id:: PkgId )
You can’t perform that action at this time.
0 commit comments