mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Set a sort order for the samples.json file's content
This commit is contained in:
@@ -28,7 +28,7 @@ module Linguist
|
|||||||
#
|
#
|
||||||
# Returns nothing.
|
# Returns nothing.
|
||||||
def self.each(&block)
|
def self.each(&block)
|
||||||
Dir.entries(ROOT).each do |category|
|
Dir.entries(ROOT).sort!.each do |category|
|
||||||
next if category == '.' || category == '..'
|
next if category == '.' || category == '..'
|
||||||
|
|
||||||
# Skip text and binary for now
|
# Skip text and binary for now
|
||||||
|
|||||||
Reference in New Issue
Block a user