mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Note that `CustomImport.ql` is still separate since it customises the standard library and would hence influennce other tests.
8 lines
206 B
Plaintext
8 lines
206 B
Plaintext
import javascript
|
|
|
|
query predicate test_ModuleImportNode(
|
|
DataFlow::ModuleImportNode m, string res0, Identifier use, string res1
|
|
) {
|
|
m.flowsToExpr(use) and res0 = m.getPath() and res1 = use.getName()
|
|
}
|