mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
update shell_command.rb to use _pry_.config.system
This commit is contained in:
parent
15d4a77353
commit
ebfa28a84a
1 changed files with 1 additions and 2 deletions
|
@ -20,11 +20,10 @@ class Pry
|
|||
process_cd parse_destination($1)
|
||||
else
|
||||
pass_block(cmd)
|
||||
|
||||
if command_block
|
||||
command_block.call `#{cmd}`
|
||||
else
|
||||
Pry.config.system.call(output, cmd, _pry_)
|
||||
_pry_.config.system.call(output, cmd, _pry_)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue