Support VB.NET *.Generated.vb along with *.Generated.cs files (#4027)

This commit is contained in:
Jason Malinowski
2018-02-21 03:56:55 -08:00
committed by Colin Seymour
parent fe3981ff03
commit c2d3170064
2 changed files with 5 additions and 2 deletions

View File

@@ -222,7 +222,7 @@ module Linguist
#
# Returns true or false
def generated_net_designer_file?
name.downcase =~ /\.designer\.cs$/
name.downcase =~ /\.designer\.(cs|vb)$/
end
# Internal: Is this a codegen file for Specflow feature file?