Ruby: Update diagnostic source names for consistency

This commit is contained in:
Henry Mercer
2023-03-15 12:05:09 +00:00
parent a90f4915a7
commit 5de0eae992
4 changed files with 6 additions and 6 deletions

View File

@@ -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(