fix some more style-guide violations in the alert-messages

This commit is contained in:
erik-krogh
2022-10-07 11:22:22 +02:00
parent 5f740a5598
commit 368f84785b
127 changed files with 1297 additions and 1282 deletions

View File

@@ -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

View File

@@ -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()