Skip to content

Commit 11b2997

Browse files
author
Ilya Radchenko
committed
Send up error from packageHash
1 parent ea8a2b2 commit 11b2997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/update-cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function updateCache(context, done) {
1010

1111
packageHash(dataDir, function (err, hash) {
1212
if (err) {
13-
return done();
13+
return done(err);
1414
}
1515

1616
var dest = path.join(dataDir, 'node_modules');

0 commit comments

Comments
 (0)