Skip to content

Commit ce8836f

Browse files
erik-kroghesbena
andauthored
Update javascript/ql/lib/semmle/javascript/PackageExports.qll
Co-authored-by: Esben Sparre Andreasen <[email protected]>
1 parent 9f100ef commit ce8836f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/PackageExports.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ private DataFlow::Node getAValueExportedByPackage() {
201201
// Object.assign and friends
202202
exists(ExtendCall assign |
203203
getAValueExportedByPackage() =
204-
[assign, assign.getDestinationOperand(), assign.getDestinationOperand().getALocalSource()]
204+
[assign, assign.getDestinationOperand().getALocalSource()]
205205
|
206206
result = assign.getASourceOperand()
207207
)

0 commit comments

Comments
 (0)