Skip to content

Commit e60de35

Browse files
committed
JS: Remove NodeJS-specific override
1 parent 170c32a commit e60de35

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

javascript/ql/lib/semmle/javascript/NodeJS.qll

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -332,13 +332,6 @@ class Require extends CallExpr, Import {
332332

333333
override Module getEnclosingModule() { this = result.getAnImport() }
334334

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-
342335
/**
343336
* Gets the file that is imported by this `require`.
344337
*

0 commit comments

Comments
 (0)