mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
use downcase string for extname
This commit is contained in:
@@ -20,7 +20,7 @@ module Linguist
|
||||
#
|
||||
# Returns a String
|
||||
def extname
|
||||
File.extname(name.to_s)
|
||||
File.extname(name.to_s).downcase
|
||||
end
|
||||
|
||||
# Internal: Lookup mime type for extension.
|
||||
|
||||
Reference in New Issue
Block a user