Skip to content

Commit

Permalink
Add some information to error message
Browse files Browse the repository at this point in the history
I had to put this change in to spot where my typo was, so thought I would make a PR
  • Loading branch information
mchapman committed Jan 1, 2016
1 parent b9cc289 commit bdfc932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@
var dep;
while (len--) {
if (!(dep = tasks[requires[len]])) {
throw new Error('Has inexistant dependency');
throw new Error('Has inexistant dependency in ' + requires.join(', '));
}
if (_isArray(dep) && _indexOf(dep, k) >= 0) {
throw new Error('Has cyclic dependencies');
Expand Down

0 comments on commit bdfc932

Please sign in to comment.