Skip to content

Commit

Permalink
fix(dockerfile): fix shell_command bash injection
Browse files Browse the repository at this point in the history
Fixes #6530
  • Loading branch information
faergeek committed May 5, 2024
1 parent 4e21361 commit 38a00f0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions queries/dockerfile/injections.scm
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
((comment) @injection.content
(#set! injection.language "comment"))

((shell_command
(shell_fragment) @injection.content)
((shell_command) @injection.content
(#set! injection.language "bash")
(#set! injection.combined))
(#set! injection.include-children))

((run_instruction
(heredoc_block) @injection.content)
Expand Down

0 comments on commit 38a00f0

Please sign in to comment.