Merge pull request #1313 from pchaigno/samples-order

Set a sort order for the samples.json file's content
This commit is contained in:
Arfon Smith
2014-06-24 10:42:25 +01:00

View File

@@ -28,7 +28,7 @@ module Linguist
#
# Returns nothing.
def self.each(&block)
Dir.entries(ROOT).each do |category|
Dir.entries(ROOT).sort!.each do |category|
next if category == '.' || category == '..'
# Skip text and binary for now