fix(style): address linting errors

This commit is contained in:
SabreCat
2017-05-16 21:30:09 +00:00
parent 410004f8c6
commit 4de5b4253b
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ module.exports = function purchase (user, req = {}, analytics) {
user.items.gear.owned[key] = true;
} else if (type === 'bundles') {
let subType = item.type;
forEach(item.bundleKeys, function (bundledKey) {
forEach(item.bundleKeys, function addBundledItems (bundledKey) {
if (!user.items[subType][bundledKey] || user.items[subType][key] < 0) {
user.items[subType][bundledKey] = 0;
}