Skip to content

Commit fe34ec1

Browse files
authored
Ruby: fix formatting errors
1 parent 5de0eae commit fe34ec1

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

ruby/extractor/src/extractor.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,10 @@ impl<'a> Visitor<'a> {
253253
end_line,
254254
end_column,
255255
);
256-
let mut mesg = self
257-
.diagnostics_writer
258-
.new_entry("parse-error", "Could not process some files due to syntax errors");
256+
let mut mesg = self.diagnostics_writer.new_entry(
257+
"parse-error",
258+
"Could not process some files due to syntax errors",
259+
);
259260
&mesg
260261
.severity(diagnostics::Severity::Warning)
261262
.location(self.path, start_line, start_column, end_line, end_column)
@@ -367,7 +368,10 @@ impl<'a> Visitor<'a> {
367368
self.record_parse_error(
368369
loc,
369370
self.diagnostics_writer
370-
.new_entry("parse-error", "Could not process some files due to syntax errors")
371+
.new_entry(
372+
"parse-error",
373+
"Could not process some files due to syntax errors",
374+
)
371375
.severity(diagnostics::Severity::Warning)
372376
.location(self.path, start_line, start_column, end_line, end_column)
373377
.message(

0 commit comments

Comments
 (0)