mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Update javascript/ql/lib/semmle/javascript/PackageExports.qll
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
committed by
GitHub
parent
9f100ef2c6
commit
ce8836fb65
@@ -201,7 +201,7 @@ private DataFlow::Node getAValueExportedByPackage() {
|
||||
// Object.assign and friends
|
||||
exists(ExtendCall assign |
|
||||
getAValueExportedByPackage() =
|
||||
[assign, assign.getDestinationOperand(), assign.getDestinationOperand().getALocalSource()]
|
||||
[assign, assign.getDestinationOperand().getALocalSource()]
|
||||
|
|
||||
result = assign.getASourceOperand()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user