From 1f63c5d5e49aa538359abb4c4b15c462cade17d4 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 14 Mar 2023 21:43:32 +0000 Subject: [PATCH] JS: Update parse error diagnostic name for consistency --- javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java | 2 +- .../all-platforms/diagnostics/syntax-error/diagnostics.expected | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java index ccde9f79320..1c7dd728101 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java +++ b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java @@ -508,7 +508,7 @@ public class AutoBuild { * For use with the {@link #writeDiagnostics(String, JSDiagnosticKind)} method. */ public static enum JSDiagnosticKind { - PARSE_ERROR("parse-error", "Parse error", DiagnosticLevel.Warning), + PARSE_ERROR("parse-error", "Could not process some files due to syntax errors", DiagnosticLevel.Warning), INTERNAL_ERROR("internal-error", "Internal error", DiagnosticLevel.Debug); private final String id; diff --git a/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected b/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected index 6337f4a4692..a480f2fe3dd 100644 --- a/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected +++ b/javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected @@ -11,7 +11,7 @@ "source": { "extractorName": "javascript", "id": "javascript/parse-error", - "name": "Parse error" + "name": "Could not process some files due to syntax errors" }, "visibility": { "cliSummaryTable": true,