Permalink
Browse files

do not pass [] as arguments to first step

Usually one uses function(err) { if (err) throw err; /* ... */ } for
error propagation, but (!![]]) evaluates to true.
  • Loading branch information...
1 parent e4addca commit 720ba1c298bf91ab2fa2bf9ea7b8072606c63eb9 @astro astro committed Jan 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/step.js
View
@@ -121,7 +121,7 @@ function Step() {
};
// Start the engine an pass nothing to the first step.
- next([]);
+ next();
}
// Tack on leading and tailing steps for input and output and return

0 comments on commit 720ba1c

Please sign in to comment.