diff options
author | isaacs <i@izs.me> | 2011-03-10 02:39:03 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-03-22 01:55:57 +0300 |
commit | 8194aaf649df48969a0aedd7151b9d1d44bb5778 (patch) | |
tree | a1733656934dccebf17ab243e9f96556a5dce4e7 /lib/utils/read-json.js | |
parent | 318404a269b9542f23253e8e786b6f8973b94c16 (diff) |
bug in default bin hash
Diffstat (limited to 'lib/utils/read-json.js')
-rw-r--r-- | lib/utils/read-json.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/read-json.js b/lib/utils/read-json.js index a600e0711..2898a931d 100644 --- a/lib/utils/read-json.js +++ b/lib/utils/read-json.js @@ -206,7 +206,7 @@ function processObject (opts, cb) { return function (er, json) { if (json.bin && typeof json.bin === "string") { var b = {} - b[ path.basename( json.bin ) ] = json.bin + b[ json.name ] = json.bin json.bin = b } |