Skip to content

Commit 898f5ec

Browse files
committed
Ruby: use the rb/ prefix in all query ids
1 parent 302373d commit 898f5ec

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

ruby/ql/examples/snippets/emptythen.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @name If statements with empty then branch
33
* @description Finds 'if' statements where the 'then' branch is
44
* an empty block statement
5-
* @id ruby/examples/emptythen
5+
* @id rb/examples/emptythen
66
* @tags if
77
* then
88
* empty

ruby/ql/src/ide-contextual-queries/localDefinitions.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Generates use-definition pairs that provide the data
44
* for jump-to-definition in the code viewer.
55
* @kind definitions
6-
* @id ruby/ide-jump-to-definition
6+
* @id rb/ide-jump-to-definition
77
* @tags ide-contextual-queries/local-definitions
88
*/
99

ruby/ql/src/ide-contextual-queries/localReferences.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Generates use-definition pairs that provide the data
44
* for find-references in the code viewer.
55
* @kind definitions
6-
* @id ruby/ide-find-references
6+
* @id rb/ide-find-references
77
* @tags ide-contextual-queries/local-references
88
*/
99

ruby/ql/src/ide-contextual-queries/printAst.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @name Print AST
33
* @description Produces a representation of a file's Abstract Syntax Tree.
44
* This query is used by the VS Code extension.
5-
* @id ruby/print-ast
5+
* @id rb/print-ast
66
* @kind graph
77
* @tags ide-contextual-queries/print-ast
88
*/

0 commit comments

Comments
 (0)