Skip to content

Commit

Permalink
fix linter errors (#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
c650 authored Aug 25, 2024
1 parent 68fcc26 commit c866ff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/commands/addclasschans.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ const promptUser = async (

const onConfirm = async (btnInteraction: ButtonInteraction) => {
await btnInteraction.followUp('Creating channels...');
const failedClasses = (await proceedToAddClasses(container, classes)).map(c => c.name)
const failedClasses = (await proceedToAddClasses(container, classes)).map((c) => c.name);

await btnInteraction.followUp('Done');
if (failedClasses.length) {
await btnInteraction.followUp(`Failed to create some channels: ${failedClasses.join(', ')}`)
await btnInteraction.followUp(`Failed to create some channels: ${failedClasses.join(', ')}`);
}
};

Expand Down

0 comments on commit c866ff8

Please sign in to comment.