mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
JavaScript: Adjust alert message.
This commit is contained in:
@@ -110,5 +110,6 @@ DataFlow::InvokeNode getFirstInvocation(Function f, boolean isNew) {
|
||||
from Function f, DataFlow::NewNode new, DataFlow::CallNode call
|
||||
where new = getFirstInvocation(f, true) and
|
||||
call = getFirstInvocation(f, false)
|
||||
select (FirstLineOf)f, capitalize(f.describe()) + " is invoked as a constructor $@, " +
|
||||
"and as a normal function $@.", new, "here", call, "here"
|
||||
select (FirstLineOf)f, capitalize(f.describe()) + " is sometimes invoked as a constructor " +
|
||||
"(for example $@), and sometimes as a normal function (for example $@).",
|
||||
new, "here", call, "here"
|
||||
|
||||
Reference in New Issue
Block a user