We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 170c32a commit e60de35Copy full SHA for e60de35
1 file changed
javascript/ql/lib/semmle/javascript/NodeJS.qll
@@ -332,13 +332,6 @@ class Require extends CallExpr, Import {
332
333
override Module getEnclosingModule() { this = result.getAnImport() }
334
335
- override Module resolveImportedPath() {
336
- moduleInFile(result, this.load(min(int prio | moduleInFile(_, this.load(prio)))))
337
- or
338
- not moduleInFile(_, this.load(_)) and
339
- result = Import.super.resolveImportedPath()
340
- }
341
-
342
/**
343
* Gets the file that is imported by this `require`.
344
*
0 commit comments