diff options
author | isaacs <i@izs.me> | 2012-02-15 20:26:49 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-02-15 20:26:49 +0400 |
commit | 1b2635ab3103ff18687e6fdb1b31f2755c36d338 (patch) | |
tree | d90a706c10e49a1d73057b4b445d523c70b8578d /lib/utils/read-json.js | |
parent | 5a75d8bd3887bad6577814babd467f70e9e763ff (diff) |
singlefile Error should be swallowed if index parsed
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 5f9eb7fb4..8fdd60f66 100644 --- a/lib/utils/read-json.js +++ b/lib/utils/read-json.js @@ -102,7 +102,7 @@ function readJson (jsonFile, opts, cb) { if (er2) return cb(er) data = parseIndex(data) if (!data) return cb(er) - thenLoad(er, data) + thenLoad(null, data) }) } thenLoad(er, data) |