Skip to content

Commit 78a8023

Browse files
committed
Remove references to 'ruby' in generic extractor code
1 parent bdad847 commit 78a8023

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ruby/extractor/src/extractor.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,17 +306,17 @@ impl<'a> Visitor<'a> {
306306
fn enter_node(&mut self, node: Node) -> bool {
307307
if node.is_missing() {
308308
self.record_parse_error_for_node(
309-
"A parse error occurred (expected {} symbol). Check the syntax of the file using the {} command. If the file is invalid, correct the error or exclude the file from analysis.",
310-
&[node.kind(), "ruby -c"],
309+
"A parse error occurred (expected {} symbol). Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.",
310+
&[node.kind()],
311311
node,
312312
true,
313313
);
314314
return false;
315315
}
316316
if node.is_error() {
317317
self.record_parse_error_for_node(
318-
"A parse error occurred. Check the syntax of the file using the {} command. If the file is invalid, correct the error or exclude the file from analysis.",
319-
&["ruby -c"],
318+
"A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.",
319+
&[],
320320
node,
321321
true,
322322
);

0 commit comments

Comments
 (0)