1
0
Fork 0
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:
yui-knk 2013-12-23 19:53:52 +09:00
parent 5ed220b467
commit 2bb5d64581

View file

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