Skip to content

Commit

Permalink
fix: fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
azcraze committed Aug 27, 2023
1 parent 5af9bf3 commit 2e46bb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ lib/core/scoresHandler/addPlayerScores.js
lib/core/scoresHandler/addScores.js
lib/core/scoresHandler/removeScores.js
lib/core/scoresHandler/removePlayerScores.js
lib/scoresOut.js
2 changes: 1 addition & 1 deletion lib/scoresOut.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function removeScores(scoreboard, inputString) {
return errorMessage;
} else {
const inputArr = processInput(scoreboard, inputString);
const [player, score1, score2] = inputArr;
const [player, score1, score] = inputArr;

if ("rk" === scoreboard) {
subtractScores("rk", "day", dayStamp, player, score1, score2);
Expand Down

0 comments on commit 2e46bb1

Please sign in to comment.