mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
added parentheses back in to shell.rb to remove warnings from tests
This commit is contained in:
parent
6a0e829ebb
commit
38a9cb0785
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ class Pry
|
|||
|
||||
Shell = Pry::CommandSet.new do
|
||||
|
||||
command /\.(.*)/, "All text following a '.' is forwarded to the shell.", :listing => ".<shell command>", :use_prefix => false do |cmd|
|
||||
command(/\.(.*)/, "All text following a '.' is forwarded to the shell.", :listing => ".<shell command>", :use_prefix => false) do |cmd|
|
||||
if cmd =~ /^cd\s+(.+)/i
|
||||
dest = $1
|
||||
begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue