Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fail better on missing json file in build

  • Loading branch information...
commit e98a114459d0cdb1f18d11df150814cf3216f365 1 parent ad92797
@isaacs isaacs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/build.js
View
2  lib/build.js
@@ -151,7 +151,7 @@ function readAll (folders, cb) {
readJson(path.join(folder, "package", "package.json"), function (er, d) {
if (er) {
log.error(folder, "Error building")
- return cb()
+ return cb(er)
}
loadPackageDefaults(d, cb)
})
Please sign in to comment.
Something went wrong with that request. Please try again.