Skip to content

Commit cbfa5ad

Browse files
committed
JS: Change type of a parameter
1 parent cee1a12 commit cbfa5ad

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/src/semmle/javascript/frameworks

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/frameworks/Redux.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ module Redux {
830830
/**
831831
* Holds if `pred -> succ` is step from an action creation to its use in a reducer function.
832832
*/
833-
predicate actionToReducerStep(DataFlow::Node pred, DataFlow::SourceNode succ) {
833+
predicate actionToReducerStep(DataFlow::Node pred, DataFlow::Node succ) {
834834
// Actions created by an action creator library
835835
exists(ActionCreator action |
836836
exists(DataFlow::CallNode call | call = action.ref().getACall() |

0 commit comments

Comments
 (0)