Skip to content

Commit f6737b3

Browse files
committed
fix FP
1 parent 344869f commit f6737b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/frameworks/NodeJSLib.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ module NodeJSLib {
765765
* The dynamic import expression input can be a `data:` URL which loads any module from that data
766766
*/
767767
class DynamicImport extends CodeInjection::Sink, DataFlow::ExprNode {
768-
DynamicImport() { this = any(DynamicImportExpr e).getAChildExpr().flow() }
768+
DynamicImport() { this = any(DynamicImportExpr e).getSource().flow() }
769769
}
770770

771771
/**

0 commit comments

Comments
 (0)