Permalink
Browse files

called double JSON.parse (first in forEach, then in all)

  • Loading branch information...
1 parent 5986514 commit dbd5e18f050b35530098f8ca2d8ffce4d6c42f85 @pkrumins committed Sep 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/store.js
View
@@ -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);

0 comments on commit dbd5e18

Please sign in to comment.