1
0
Fork 0
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:
Robert Gleeson 2014-02-07 01:52:12 +01:00
parent 15d4a77353
commit ebfa28a84a

View file

@ -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