Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
builder-247 authored and ChristianDobbie committed Jan 10, 2022
1 parent 5d5b792 commit 704a05d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion processors/games/SkyWars.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module.exports = ({
const mode = gamemodes[name];
mode.kill_death_ratio = getRatio(mode.kills, mode.deaths);
mode.win_loss_ratio = getRatio(mode.wins, mode.losses);
mode.arrow_hit_miss_ratio = getRatio(mode.arrows_hit, mode.arrows_shot)
mode.arrow_hit_miss_ratio = getRatio(mode.arrows_hit, mode.arrows_shot);
});
return ({
coins,
Expand Down
2 changes: 1 addition & 1 deletion processors/processPlayerData.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const parseQuests = require('./parseQuests');

function getPlayerRank(rank, packageRank, newPackageRank, monthlyPackageRank) {
let playerRank;
if (monthlyPackageRank === 'NONE') monthlyPackageRank = null
if (monthlyPackageRank === 'NONE') monthlyPackageRank = null;
if (rank === 'NORMAL') {
playerRank = monthlyPackageRank || newPackageRank || packageRank || null;
} else {
Expand Down

0 comments on commit 704a05d

Please sign in to comment.