summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Gleeson <rob@flowof.info>2014-02-07 01:52:12 +0100
committerRobert Gleeson <rob@flowof.info>2014-02-07 02:03:57 +0100
commitebfa28a84abcc73c72cead3622e4d62b114868d9 (patch)
treeabea1112050a4a259a6e00cb45a123aab19ca797 /lib
parent15d4a773533f16fa8c02e478a6e9609739b137f2 (diff)
downloadpry-ebfa28a84abcc73c72cead3622e4d62b114868d9.tar.gz
update shell_command.rb to use _pry_.config.system
Diffstat (limited to 'lib')
-rw-r--r--lib/pry/commands/shell_command.rb3
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