Skip to content

Commit eed19a3

Browse files
committed
Fix autoformatting issues
1 parent 09df055 commit eed19a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

python/ql/src/experimental/Security/UnsafeUnpackQuery.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ class UnsafeUnpackingConfig extends TaintTracking::Configuration {
8484
// see wget: https://pypi.org/project/wget/
8585
exists(API::CallNode mcn |
8686
mcn = API::moduleImport("wget").getMember("download").getACall() and
87-
if exists(mcn.getArg(1))
88-
then source = mcn.getArg(1)
89-
else source = mcn.getReturn().asSource()
87+
if exists(mcn.getArg(1)) then source = mcn.getArg(1) else source = mcn.getReturn().asSource()
9088
)
9189
or
9290
// catch the Django uploaded files as a source

0 commit comments

Comments
 (0)