mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
JS: change alert location for js/incomplete-object-initialization
This commit is contained in:
@@ -59,4 +59,4 @@ where needsGuard(e, kind) and unguarded(e, ctor) and
|
||||
sc.getBinder() = ctor and
|
||||
sc.getEnclosingFunction() != ctor
|
||||
)
|
||||
select e, "The super constructor must be called before using '" + kind + "'."
|
||||
select ctor, "The super constructor must be called before using '$@'.", e, kind
|
||||
Reference in New Issue
Block a user