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

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Asger F
2025-12-05 11:14:59 +01:00
parent 739ed4b3bb
commit 0eadebcabd

View File

@@ -552,7 +552,7 @@ public class FileExtractor {
if (loc.getSkipReason() != null) {
System.err.println("Skipping file " + extractedFile + ": " + loc.getSkipReason());
System.err.flush();
} else{
} else {
int numLines = textualExtractor.isSnippet() ? 0 : textualExtractor.getNumLines();
int linesOfCode = loc.getLinesOfCode(), linesOfComments = loc.getLinesOfComments();
trapwriter.addTuple("numlines", fileLabel, numLines, linesOfCode, linesOfComments);