Skip to content

Commit 2d88385

Browse files
committed
JS: Cache moduleImport
1 parent c54f8d8 commit 2d88385

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • javascript/ql/src/semmle/javascript/dataflow

javascript/ql/src/semmle/javascript/dataflow/Nodes.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,7 @@ module ModuleImportNode {
697697
*
698698
* This predicate can be extended by subclassing `ModuleImportNode::Range`.
699699
*/
700+
cached
700701
ModuleImportNode moduleImport(string path) { result.getPath() = path }
701702

702703
/**

0 commit comments

Comments
 (0)