Skip to content

Commit 37999ea

Browse files
committed
JS: Fix implicit this
1 parent f4b13e0 commit 37999ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/ES2015Modules.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class ImportDeclaration extends Stmt, Import, @import_declaration {
9898
* import foo from "foo" assert { type: "json" };
9999
* ```
100100
*/
101-
ObjectExpr getImportAssertion() { result = getChildExpr(-10) }
101+
ObjectExpr getImportAssertion() { result = this.getChildExpr(-10) }
102102

103103
/** Gets the `i`th import specifier of this import declaration. */
104104
ImportSpecifier getSpecifier(int i) { result = getChildExpr(i) }

0 commit comments

Comments
 (0)