mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
fix some more style-guide violations in the alert-messages
This commit is contained in:
@@ -24,5 +24,5 @@ from AngularJS::InjectableFunction f, DataFlow::Node node, string name
|
||||
where
|
||||
isRepeatedDependency(f, name, node) and
|
||||
not count(f.asFunction().getParameterByName(name)) > 1 // avoid duplicating reports from js/duplicate-parameter-name
|
||||
select f.asFunction().getFunction().(FirstLineOf), "This function has a duplicate dependency '$@'.",
|
||||
select f.asFunction().getFunction().(FirstLineOf), "This function has a duplicate dependency $@.",
|
||||
node, name
|
||||
|
||||
@@ -78,5 +78,5 @@ from ResourceUrlWhitelistEntry entry, DataFlow::MethodCallNode setupCall, string
|
||||
where
|
||||
entry.isInsecure(explanation) and
|
||||
setupCall = entry.getSetupCall()
|
||||
select setupCall, "'$@' is not a secure whitelist entry, because " + explanation + ".", entry,
|
||||
select setupCall, "$@ is not a secure whitelist entry, because " + explanation + ".", entry,
|
||||
entry.toString()
|
||||
|
||||
Reference in New Issue
Block a user