From 2c1fa08673548af87a860b69aa602bc509c56b1c Mon Sep 17 00:00:00 2001 From: mat-1 Date: Mon, 15 Feb 2021 02:04:09 +0000 Subject: Compiled TS into JS --- build/cleaners/rank.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build') diff --git a/build/cleaners/rank.js b/build/cleaners/rank.js index ea8af7e..2b8fb77 100644 --- a/build/cleaners/rank.js +++ b/build/cleaners/rank.js @@ -25,10 +25,10 @@ function cleanRank({ packageRank, newPackageRank, monthlyPackageRank, rankPlusCo name = colored.replace(/ยง./g, '').replace(/[\[\]]/g, ''); } else { - name = rank + name = monthlyPackageRank + || rank || (newPackageRank === null || newPackageRank === void 0 ? void 0 : newPackageRank.replace('_PLUS', '+')) - || (packageRank === null || packageRank === void 0 ? void 0 : packageRank.replace('_PLUS', '+')) - || monthlyPackageRank; + || (packageRank === null || packageRank === void 0 ? void 0 : packageRank.replace('_PLUS', '+')); // MVP++ is called Superstar for some reason if (name === 'SUPERSTAR') name = 'MVP++'; -- cgit