Skip to content

Commit 6cac961

Browse files
add missing not
Co-Authored-By: Max Schaefer <54907921+max-schaefer@users.noreply.github.com>
1 parent b2c3170 commit 6cac961

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/ql/src/Statements/UseOfReturnlessFunction.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ DataFlow::SourceNode array() { result = array(DataFlow::TypeTracker::end()) }
131131
/**
132132
* Holds if `call` is an Array or Lodash method accepting a callback `func`,
133133
* where the `call` expects a callback that returns an expression,
134-
* but `func` does return a value.
134+
* but `func` does not return a value.
135135
*/
136136
predicate voidArrayCallback(DataFlow::CallNode call, Function func) {
137137
hasNonVoidCallbackMethod(call.getCalleeName()) and

0 commit comments

Comments
 (0)