refactor: break long line

This commit is contained in:
Barış Soner Uşaklı
2026-03-27 16:44:10 -04:00
parent 1a0c2a21c7
commit 4b503db497

View File

@@ -83,7 +83,9 @@ module.exports = function (module) {
if (!utils.isNumber(item[1])) {
throw new Error(`[[error:invalid-score, ${item[1]}]]`);
}
bulk.find({ _key: item[0], value: String(item[2]) }).upsert().updateOne({ $set: { score: parseFloat(item[1]) } });
bulk.find({ _key: item[0], value: String(item[2]) })
.upsert()
.updateOne({ $set: { score: parseFloat(item[1]) } });
});
await bulk.execute();
};