Fix a bunch of Ruby warnings, including a bug in the not_found method
This commit is contained in:
parent
1d869b0c08
commit
397ccd2c1e
6 changed files with 10 additions and 10 deletions
|
@ -39,8 +39,8 @@ module Middleman
|
|||
klass.start(["-h", task].compact, :shell => self.shell)
|
||||
else
|
||||
list = []
|
||||
Thor::Util.thor_classes_in(Middleman::Cli).each do |klass|
|
||||
list += klass.printable_tasks(false)
|
||||
Thor::Util.thor_classes_in(Middleman::Cli).each do |thor_class|
|
||||
list += thor_class.printable_tasks(false)
|
||||
end
|
||||
list.sort!{ |a,b| a[0] <=> b[0] }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue