зеркало из https://github.com/github/codeql.git
Ruby: fix formatting errors
This commit is contained in:
Родитель
5de0eae992
Коммит
fe34ec1378
|
@ -253,9 +253,10 @@ impl<'a> Visitor<'a> {
|
|||
end_line,
|
||||
end_column,
|
||||
);
|
||||
let mut mesg = self
|
||||
.diagnostics_writer
|
||||
.new_entry("parse-error", "Could not process some files due to syntax errors");
|
||||
let mut mesg = self.diagnostics_writer.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 +368,10 @@ impl<'a> Visitor<'a> {
|
|||
self.record_parse_error(
|
||||
loc,
|
||||
self.diagnostics_writer
|
||||
.new_entry("parse-error", "Could not process some files due to syntax errors")
|
||||
.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(
|
||||
|
|
Загрузка…
Ссылка в новой задаче