From 15fb7de1e39f2a14c50db1ee30bd25145bbf50c7 Mon Sep 17 00:00:00 2001 From: HardiReady Date: Sun, 17 Feb 2019 13:03:35 +0100 Subject: [PATCH] Fix lint --- server/models/logs/budget.js | 2 +- server/tools/log-parse-tool.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/models/logs/budget.js b/server/models/logs/budget.js index 896b163..2416cf9 100644 --- a/server/models/logs/budget.js +++ b/server/models/logs/budget.js @@ -40,7 +40,7 @@ const LogBudgetSchema = new Schema( }, item: { type: String, - } + }, }, { collection: 'logBudget', diff --git a/server/tools/log-parse-tool.js b/server/tools/log-parse-tool.js index 98fba36..609f556 100644 --- a/server/tools/log-parse-tool.js +++ b/server/tools/log-parse-tool.js @@ -429,7 +429,7 @@ const getBudgetEntry = (line, budg, warId, warDate) => { const budgetRespawnMatch = budgetRespawnNameRegex.exec(line); if (budgetRespawnMatch && budgetRespawnMatch.length > 1) { budgetEntry.player = budgetRespawnMatch[1]; - budgetEntry.item = "Respawn"; + budgetEntry.item = 'Respawn'; } else { const itemNameMatch = budgetItemNameRegex.exec(line); const playerNameMatch = budgetPlayerNameRegex.exec(line);