mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
JS: Autoformat
This commit is contained in:
@@ -20,7 +20,10 @@ import semmle.javascript.RestrictedLocations
|
||||
* Holds if the `rel` attribute may be injected by an Angular2 directive.
|
||||
*/
|
||||
predicate maybeInjectedByAngular() {
|
||||
DataFlow::moduleMember("@angular/core", "HostBinding").getACall().getArgument(0).mayHaveStringValue("attr.rel")
|
||||
DataFlow::moduleMember("@angular/core", "HostBinding")
|
||||
.getACall()
|
||||
.getArgument(0)
|
||||
.mayHaveStringValue("attr.rel")
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user