Skip to content

Commit 34fbafa

Browse files
committed
remove redundant "put" case
1 parent e0f78dd commit 34fbafa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/frameworks/ClientRequests.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ module ClientRequest {
242242
method = "request" and
243243
result = getOptionArgument(0, "data")
244244
or
245-
method = ["post", "put", "put"] and
245+
method = ["post", "put"] and
246246
result = [getArgument(1), getOptionArgument(2, "data")]
247247
or
248248
result = getOptionArgument([0 .. 2], ["headers", "params"])

0 commit comments

Comments
 (0)