Skip to content

Commit 0a14de1

Browse files
committed
JS: Also extract .njk files
1 parent 14bada4 commit 0a14de1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/extractor/src/com/semmle/js/extractor/FileExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private static int skipBOM(byte[] bytes, int length) {
104104

105105
/** Information about supported file types. */
106106
public static enum FileType {
107-
HTML(".htm", ".html", ".xhtm", ".xhtml", ".vue", ".hbs", ".ejs") {
107+
HTML(".htm", ".html", ".xhtm", ".xhtml", ".vue", ".hbs", ".ejs", ".njk") {
108108
@Override
109109
public IExtractor mkExtractor(ExtractorConfig config, ExtractorState state) {
110110
return new HTMLExtractor(config, state);

0 commit comments

Comments
 (0)