diff options
author | isaacs <i@izs.me> | 2010-05-03 04:21:35 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-05-03 05:07:51 +0400 |
commit | bf7f5b0f8cddff6615b463a3fa23e701c46c7f84 (patch) | |
tree | 20186a07350a10f1c8ea83101bfa4a133d2257e4 /lib | |
parent | 70ebdaa0f57e990d9b852c6dba63b8c42b5eeff8 (diff) |
Build takes an array of arguments, not a single one
Diffstat (limited to 'lib')
-rw-r--r-- | lib/build.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/build.js b/lib/build.js index d4b69e889..150ee2a54 100644 --- a/lib/build.js +++ b/lib/build.js @@ -103,8 +103,9 @@ function autoActivate (pkg, cb) { function readAndBuild (folder, cb) { log("readAndBuild", "build") readJson(path.join(folder, "package.json"), function (er, data) { + log(data, "build") if (er) cb(er) - else build(data, cb) + else build([data], cb) }) } |