Skip to content

Commit

Permalink
refactor(index): remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriz committed Jun 9, 2019
1 parent 036d2da commit 2566da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const scan = (...args) => {
[acc] = args.slice(-1)
// chain receives tuple of functions, one per reducer
// nth CPS function inside chain receives nth callback output of cpsAction
let cpsTrasformer = (reducer, idx) => (...action) => cb => {
let cpsTrasformer = reducer => (...action) => cb => {
// accessing vals and reducers by index
acc = reducer(acc, ...action)
cb(acc)
Expand Down

0 comments on commit 2566da7

Please sign in to comment.