Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Dec 7, 2018
1 parent 80e00e2 commit 81763da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rake/application.rb
Expand Up @@ -392,7 +392,7 @@ def trace(*strings) # :nodoc:

def sort_options(options) # :nodoc:
options.sort_by { |opt|
opt.select { |o| o =~ /^-/ }.map(&:downcase).sort.reverse
opt.select { |o| o.is_a?(String) && o =~ /^-/ }.map(&:downcase).sort.reverse
}
end
private :sort_options
Expand Down

0 comments on commit 81763da

Please sign in to comment.