We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68f11f9 commit 4967229Copy full SHA for 4967229
runtime/queries/ruby/injections.scm
@@ -21,3 +21,15 @@
21
(#set! injection.language "erb"))
22
(#eq? @name "ERB"))
23
24
+; `<command>`
25
+; %x{<command>}
26
+(subshell
27
+ (string_content) @injection.content
28
+ (#set! injection.language "bash"))
29
+
30
+(call
31
+ method: (identifier) @_method (#any-of? @_method "system" "spawn" "exec")
32
+ arguments: (argument_list
33
+ (string
34
+ (string_content) @injection.content))
35
0 commit comments