mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Ruby: Update diagnostic source names for consistency
This commit is contained in:
@@ -255,7 +255,7 @@ impl<'a> Visitor<'a> {
|
||||
);
|
||||
let mut mesg = self
|
||||
.diagnostics_writer
|
||||
.new_entry("parse-error", "Parse error");
|
||||
.new_entry("parse-error", "Could not process some files due to syntax errors");
|
||||
&mesg
|
||||
.severity(diagnostics::Severity::Warning)
|
||||
.location(self.path, start_line, start_column, end_line, end_column)
|
||||
@@ -367,7 +367,7 @@ impl<'a> Visitor<'a> {
|
||||
self.record_parse_error(
|
||||
loc,
|
||||
self.diagnostics_writer
|
||||
.new_entry("parse-error", "Parse error")
|
||||
.new_entry("parse-error", "Could not process some files due to syntax errors")
|
||||
.severity(diagnostics::Severity::Warning)
|
||||
.location(self.path, start_line, start_column, end_line, end_column)
|
||||
.message(
|
||||
|
||||
Reference in New Issue
Block a user