Permalink
Browse files

Remove a log.er that should just be a cb

  • Loading branch information...
1 parent 28044f3 commit 6bdcb8105c8d5927002a0744d30b279556ba6c11 @isaacs isaacs committed Mar 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cache.js
View
2 lib/cache.js
@@ -758,7 +758,7 @@ function addTmpTarball_ (tgz, name, uid, gid, cb) {
, uid, gid
, function (er) {
if (er) {
- return log.er(cb, "couldn't unpack "+tgz+" to "+contents)(er)
+ return cb(er)
}
fs.readdir(contents, function (er, folder) {
if (er) return log.er(cb, "couldn't readdir "+contents)(er)

0 comments on commit 6bdcb81

Please sign in to comment.