Skip to content

Commit

Permalink
called double JSON.parse (first in forEach, then in all)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkrumins committed Sep 15, 2010
1 parent 5986514 commit dbd5e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function Store(opts, cb) {
cb(error);
}
keys.push(key);
vals.push(opts.json ? JSON.parse(val) : val);
vals.push(val);
},
function () {
cb(undefined, keys, vals);
Expand Down

0 comments on commit dbd5e18

Please sign in to comment.