Skip to content

Commit

Permalink
Fixed bug where we try to retrieve name from the step when it shoul…
Browse files Browse the repository at this point in the history
…d be retrieved from the seqeunce.
  • Loading branch information
bnoguchi committed Apr 5, 2011
1 parent 92d256b commit ce86762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sequence.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ MaterializedSequence.prototype = {
var accepts = step.accepts
, promises = step.promises
// TODO step.block getter?
, block = step.module[step.name]();
, block = this.module[step.name]();

// Unwrap values based on step.accepts
var args = accepts.reduce( function (args, accept) {
Expand Down

0 comments on commit ce86762

Please sign in to comment.