ESlint key-spacing, no-trailing-spaces

This commit is contained in:
Peter Jaszkowiak
2017-02-18 01:27:46 -07:00
parent 34e233fe1d
commit 277a7fb8b4
64 changed files with 142 additions and 143 deletions

View File

@@ -15,7 +15,7 @@ module.exports = function (db, module) {
value = helpers.valueToString(value);
db.collection('objects').update({_key: key, value: value}, {$set: {score: parseFloat(score)}}, {upsert:true, w: 1}, function (err) {
db.collection('objects').update({_key: key, value: value}, {$set: {score: parseFloat(score)}}, {upsert: true, w: 1}, function (err) {
if (err && err.message.startsWith('E11000 duplicate key error')) {
return process.nextTick(module.sortedSetAdd, key, score, value, callback);
}