Fix lint
parent
51f9371659
commit
15fb7de1e3
|
@ -40,7 +40,7 @@ const LogBudgetSchema = new Schema(
|
||||||
},
|
},
|
||||||
item: {
|
item: {
|
||||||
type: String,
|
type: String,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
collection: 'logBudget',
|
collection: 'logBudget',
|
||||||
|
|
|
@ -429,7 +429,7 @@ const getBudgetEntry = (line, budg, warId, warDate) => {
|
||||||
const budgetRespawnMatch = budgetRespawnNameRegex.exec(line);
|
const budgetRespawnMatch = budgetRespawnNameRegex.exec(line);
|
||||||
if (budgetRespawnMatch && budgetRespawnMatch.length > 1) {
|
if (budgetRespawnMatch && budgetRespawnMatch.length > 1) {
|
||||||
budgetEntry.player = budgetRespawnMatch[1];
|
budgetEntry.player = budgetRespawnMatch[1];
|
||||||
budgetEntry.item = "Respawn";
|
budgetEntry.item = 'Respawn';
|
||||||
} else {
|
} else {
|
||||||
const itemNameMatch = budgetItemNameRegex.exec(line);
|
const itemNameMatch = budgetItemNameRegex.exec(line);
|
||||||
const playerNameMatch = budgetPlayerNameRegex.exec(line);
|
const playerNameMatch = budgetPlayerNameRegex.exec(line);
|
||||||
|
|
Loading…
Reference in New Issue