aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moulberry-bush
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moulberry-bush')
-rw-r--r--src/commands/moulberry-bush/capes.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/commands/moulberry-bush/capes.ts b/src/commands/moulberry-bush/capes.ts
index 447d604..14a972e 100644
--- a/src/commands/moulberry-bush/capes.ts
+++ b/src/commands/moulberry-bush/capes.ts
@@ -90,9 +90,7 @@ export default class CapesCommand extends BushCommand {
const sortedCapes = capes1.sort((a, b) => {
let aWeight: number | undefined = undefined,
bWeight: number | undefined = undefined;
- // eslint-disable-next-line prefer-const
aWeight ??= a?.index;
- // eslint-disable-next-line prefer-const
bWeight ??= b?.index;
if (aWeight !== undefined && bWeight !== undefined) {