mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Fix to Pry::Command::Ls.error_list. Now non_mod_interrogatee is always false, so fix it.
This commit is contained in:
parent
5ed220b467
commit
2bb5d64581
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class Pry
|
|||
|
||||
def error_list
|
||||
any_args = args.any?
|
||||
non_mod_interrogatee = !Module === @interrogatee
|
||||
non_mod_interrogatee = !(Module === @interrogatee)
|
||||
[
|
||||
['-l does not make sense with a specified Object', :locals, any_args],
|
||||
['-g does not make sense with a specified Object', :globals, any_args],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue