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
|
# Returns a String
|
||||||
def extname
|
def extname
|
||||||
File.extname(name.to_s)
|
File.extname(name.to_s).downcase
|
||||||
end
|
end
|
||||||
|
|
||||||
# Internal: Lookup mime type for extension.
|
# Internal: Lookup mime type for extension.
|
||||||
|
|||||||
Reference in New Issue
Block a user