Skip to content

Commit 7d9a1e1

Browse files
committed
remove unnecessary assertion
1 parent 039cad1 commit 7d9a1e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/sdm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export default class SdmCommand implements MessageCommand, ApplicationCommand {
184184
const o4 = command.options.getString("o4", false);
185185
const o5 = command.options.getString("o5", false);
186186

187-
const options = [o1, o2, o3, o4, o5].filter(o => o !== null) as string[];
187+
const options = [o1, o2, o3, o4, o5].filter(o => o !== null);
188188

189189
const msg = createSecureDecisionMessage(question, member, options);
190190
await command.reply(msg);

0 commit comments

Comments
 (0)