mirror of
https://github.com/github/codeql.git
synced 2026-01-03 09:40:17 +01:00
fix upper-case .html.erb files
This commit is contained in:
@@ -122,7 +122,7 @@ public class FileExtractor {
|
||||
}
|
||||
// for ERB files we are only interrested in `.html.erb` files
|
||||
if (FileUtil.extension(f).equalsIgnoreCase(".erb")) {
|
||||
if (!f.getName().endsWith(".html.erb")) {
|
||||
if (!f.getName().toLowerCase().endsWith(".html.erb")) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user