Skip to content

Commit

Permalink
Update api docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpfs committed Mar 19, 2016
1 parent e96731b commit 39f9796
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ Returns a task or undefined.
Runner.prototype.each([names], cb)
```

Execute a list of tasks to by string identifiers.
Execute a list of tasks to by string identifiers, when `names` is
not given all tasks are executed.

* `names` Array list of task names.
* `cb` Function callback function.
Expand Down
4 changes: 2 additions & 2 deletions runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ function exec(id, cb) {
}

/**
* Execute a list of tasks to by string identifiers.
* Execute a list of tasks to by string identifiers, when `names` is
* not given all tasks are executed.
*
* @function each
* @member Runner
Expand Down Expand Up @@ -209,7 +210,6 @@ function each(names, cb) {
}
scope.exec(id, next);
}

next();
}

Expand Down

0 comments on commit 39f9796

Please sign in to comment.