aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moulberry-bush/capes.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-02 19:49:21 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-02 19:49:21 -0400
commit29cebebc18e9570b699caef8ebb04f4d3934722d (patch)
tree15a47fb5bea3839098d7700b48ad0f8b33eb13fa /src/commands/moulberry-bush/capes.ts
parent39927eb63081eb8120f75ad38bc336bb48d0f2a7 (diff)
downloadtanzanite-29cebebc18e9570b699caef8ebb04f4d3934722d.tar.gz
tanzanite-29cebebc18e9570b699caef8ebb04f4d3934722d.tar.bz2
tanzanite-29cebebc18e9570b699caef8ebb04f4d3934722d.zip
clean up
Diffstat (limited to 'src/commands/moulberry-bush/capes.ts')
-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) {