You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ruby/extractor/src/extractor.rs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -306,17 +306,17 @@ impl<'a> Visitor<'a> {
306
306
fnenter_node(&mutself,node:Node) -> bool{
307
307
if node.is_missing(){
308
308
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()],
311
311
node,
312
312
true,
313
313
);
314
314
returnfalse;
315
315
}
316
316
if node.is_error(){
317
317
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.",
0 commit comments