diff options
author | isaacs <i@izs.me> | 2010-08-25 06:14:17 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-08-25 16:21:51 +0400 |
commit | 12b401cb985af587b1de80ae0d8a726eefbf48a1 (patch) | |
tree | b998b9ee28a0ab22ed3054dbece694a71f5df83e | |
parent | 6652d93ed561a1e4bcd24a506933efef442ad25e (diff) |
Load package default data when objects are provided
-rw-r--r-- | lib/build.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/build.js b/lib/build.js index ef91bc90f..c31513b16 100644 --- a/lib/build.js +++ b/lib/build.js @@ -106,7 +106,7 @@ function readAll (folders, cb) { , errState = null , f = folders.length asyncMap(folders, function (folder, cb) { - if (typeof folder === "object") return cb(null, folder) + if (typeof folder === "object") return loadPackageDefaults(folder, cb) readJson(path.join(folder, "package.json"), function (er, d) { // FIXME: in 0.3.0, remove this, and make it the default // behavior in read-json.js |