Skip to content
Browse files

log 'docs' errors, don't crash on them

  • Loading branch information...
1 parent 6bf81ec commit ae9a5b093518ded073d75f182c4629deca1e0607 @isaacs isaacs committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/docs.js
View
4 lib/docs.js
@@ -29,7 +29,9 @@ function docs (args, cb) {
.replace(/\.git$/, '')+"#readme", cb)
}
}
- cb(n+" doesn't appear to have a 'homepage' or 'repository.url' listed")
+ log.error(n+" doesn't appear to have a 'homepage'"
+ +" or 'repository.url' listed")
+ cb()
})
}

0 comments on commit ae9a5b0

Please sign in to comment.
Something went wrong with that request. Please try again.