Skip to content

Commit bdfc932

Browse files
committed
Add some information to error message
I had to put this change in to spot where my typo was, so thought I would make a PR
1 parent b9cc289 commit bdfc932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/async.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@
575575
var dep;
576576
while (len--) {
577577
if (!(dep = tasks[requires[len]])) {
578-
throw new Error('Has inexistant dependency');
578+
throw new Error('Has inexistant dependency in ' + requires.join(', '));
579579
}
580580
if (_isArray(dep) && _indexOf(dep, k) >= 0) {
581581
throw new Error('Has cyclic dependencies');

0 commit comments

Comments
 (0)