mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Remove references to 'ruby' in generic extractor code
This commit is contained in:
@@ -306,8 +306,8 @@ impl<'a> Visitor<'a> {
|
|||||||
fn enter_node(&mut self, node: Node) -> bool {
|
fn enter_node(&mut self, node: Node) -> bool {
|
||||||
if node.is_missing() {
|
if node.is_missing() {
|
||||||
self.record_parse_error_for_node(
|
self.record_parse_error_for_node(
|
||||||
"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.",
|
"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.",
|
||||||
&[node.kind(), "ruby -c"],
|
&[node.kind()],
|
||||||
node,
|
node,
|
||||||
true,
|
true,
|
||||||
);
|
);
|
||||||
@@ -315,8 +315,8 @@ impl<'a> Visitor<'a> {
|
|||||||
}
|
}
|
||||||
if node.is_error() {
|
if node.is_error() {
|
||||||
self.record_parse_error_for_node(
|
self.record_parse_error_for_node(
|
||||||
"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.",
|
"A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.",
|
||||||
&["ruby -c"],
|
&[],
|
||||||
node,
|
node,
|
||||||
true,
|
true,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user