Skip to content

Commit 1f63c5d

Browse files
committed
JS: Update parse error diagnostic name for consistency
1 parent bc10687 commit 1f63c5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ public int run() throws IOException {
508508
* For use with the {@link #writeDiagnostics(String, JSDiagnosticKind)} method.
509509
*/
510510
public static enum JSDiagnosticKind {
511-
PARSE_ERROR("parse-error", "Parse error", DiagnosticLevel.Warning),
511+
PARSE_ERROR("parse-error", "Could not process some files due to syntax errors", DiagnosticLevel.Warning),
512512
INTERNAL_ERROR("internal-error", "Internal error", DiagnosticLevel.Debug);
513513

514514
private final String id;

javascript/ql/integration-tests/all-platforms/diagnostics/syntax-error/diagnostics.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"source": {
1212
"extractorName": "javascript",
1313
"id": "javascript/parse-error",
14-
"name": "Parse error"
14+
"name": "Could not process some files due to syntax errors"
1515
},
1616
"visibility": {
1717
"cliSummaryTable": true,

0 commit comments

Comments
 (0)