mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Update javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -489,7 +489,7 @@ public class AutoBuild {
|
||||
diagnosticsToClose.forEach(DiagnosticWriter::close);
|
||||
}
|
||||
|
||||
// Fail extraction is no relevant files were found.
|
||||
// Fail extraction if no relevant files were found.
|
||||
if (!seenFiles || !hasSeenCode() && !EnvironmentVariables.isActionsExtractor()) {
|
||||
if (seenFiles) {
|
||||
warn("Only found JavaScript or TypeScript files that were empty or contained syntax errors.");
|
||||
|
||||
Reference in New Issue
Block a user