We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5494f7f commit 350b354Copy full SHA for 350b354
ql/lib/codeql/actions/Helper.qll
@@ -202,10 +202,8 @@ module Bash {
202
"((echo|printf)\\s+['|\"]?(EOF)['|\"]?\\s*>>\\s*\\S+\\s*[\r\n]*).*" and
203
content =
204
trimQuotes(script.regexpCapture(regexp, 3)) + "\n" +
205
- // "$(" +
206
- trimQuotes(script.regexpCapture(regexp, 6)) +
207
- // ")\n" +
208
- "\n" + trimQuotes(script.regexpCapture(regexp, 4)) and
+ trimQuotes(script.regexpCapture(regexp, 6)) + "\n" +
+ trimQuotes(script.regexpCapture(regexp, 4)) and
209
cmd = "echo" and
210
file = trimQuotes(script.regexpCapture(regexp, 5)) and
211
filters = ""
0 commit comments