Include correct path in error message

This commit is contained in:
Tim Schaub
2014-12-07 16:27:31 -08:00
parent b7d0e06f05
commit 32a67801e5

View File

@@ -58,7 +58,7 @@ function getNewerExterns(date, callback) {
next();
});
walker.on('errors', function() {
callback(new Error('Trouble walking ' + sourceDir));
callback(new Error('Trouble walking ' + externsDir));
});
walker.on('end', function() {
callback(null, date, newer);