We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25a8469 commit 271cc6bCopy full SHA for 271cc6b
javascript/extractor/src/com/semmle/js/extractor/FileExtractor.java
@@ -356,7 +356,7 @@ public static FileType forFile(File f, ExtractorConfig config) {
356
357
/** Determine the {@link FileType} for a given file based on its extension only. */
358
public static FileType forFileExtension(File f) {
359
- String lcExt = StringUtil.lc(FileUtil.extension(f)); // TODO: Here, it doesn't recognize .html.erb files
+ String lcExt = StringUtil.lc(FileUtil.extension(f));
360
for (FileType tp : values())
361
if (tp.getExtensions().contains(lcExt)) {
362
return tp;
0 commit comments