mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
The C# compiler bizarrely generates docfiles with uppercase extensions - recognize those too
This commit is contained in:
@@ -266,7 +266,7 @@ module Linguist
|
||||
#
|
||||
# Returns true or false
|
||||
def generated_net_docfile?
|
||||
return false unless extname == ".xml"
|
||||
return false unless extname.downcase == ".xml"
|
||||
return false unless lines.count > 3
|
||||
|
||||
# .NET Docfiles always open with <doc> and their first tag is an
|
||||
|
||||
Reference in New Issue
Block a user