diff options
author | Robert Gleeson <rob@flowof.info> | 2014-02-07 01:52:12 +0100 |
---|---|---|
committer | Robert Gleeson <rob@flowof.info> | 2014-02-07 02:03:57 +0100 |
commit | ebfa28a84abcc73c72cead3622e4d62b114868d9 (patch) | |
tree | abea1112050a4a259a6e00cb45a123aab19ca797 /lib | |
parent | 15d4a773533f16fa8c02e478a6e9609739b137f2 (diff) | |
download | pry-ebfa28a84abcc73c72cead3622e4d62b114868d9.tar.gz |
update shell_command.rb to use _pry_.config.system
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pry/commands/shell_command.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pry/commands/shell_command.rb b/lib/pry/commands/shell_command.rb index 69559405..6cb32ec9 100644 --- a/lib/pry/commands/shell_command.rb +++ b/lib/pry/commands/shell_command.rb @@ -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 |