We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2c3170 commit 6cac961Copy full SHA for 6cac961
1 file changed
javascript/ql/src/Statements/UseOfReturnlessFunction.ql
@@ -131,7 +131,7 @@ DataFlow::SourceNode array() { result = array(DataFlow::TypeTracker::end()) }
131
/**
132
* Holds if `call` is an Array or Lodash method accepting a callback `func`,
133
* where the `call` expects a callback that returns an expression,
134
- * but `func` does return a value.
+ * but `func` does not return a value.
135
*/
136
predicate voidArrayCallback(DataFlow::CallNode call, Function func) {
137
hasNonVoidCallbackMethod(call.getCalleeName()) and
0 commit comments