Python: Change Str to StringLiteral

As far as I can tell, this was the only occurrence of `Str` as a type
throughout the entire library.
This commit is contained in:
Taus
2024-04-17 16:13:24 +00:00
parent b484aee39e
commit d51fcd4f2a

View File

@@ -113,7 +113,7 @@ module UnsafeShellCommandConstruction {
ArrayJoin() {
call.getMethodName() = "join" and
unique( | | call.getArg(_)).asExpr().(Str).getText() = " " and
unique( | | call.getArg(_)).asExpr().(StringLiteral).getText() = " " and
isUsedAsShellCommand(call, s) and
(
this = call.getArg(0) and