Fix autoformatting issues

This commit is contained in:
Sim4n6
2023-02-10 21:58:29 +01:00
parent 09df055d86
commit eed19a3e15

View File

@@ -84,9 +84,7 @@ class UnsafeUnpackingConfig extends TaintTracking::Configuration {
// see wget: https://pypi.org/project/wget/
exists(API::CallNode mcn |
mcn = API::moduleImport("wget").getMember("download").getACall() and
if exists(mcn.getArg(1))
then source = mcn.getArg(1)
else source = mcn.getReturn().asSource()
if exists(mcn.getArg(1)) then source = mcn.getArg(1) else source = mcn.getReturn().asSource()
)
or
// catch the Django uploaded files as a source