Fix eslint in commands/join

This commit is contained in:
Max Leiter 2022-05-31 22:39:25 -07:00
parent cb0c6222cf
commit 592a9763ab
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA

View file

@ -13,7 +13,6 @@ function input(args: string[]) {
if (chanTypes && chanTypes.length > 0) {
for (let c = 0; c < channelList.length; c++) {
if (!chanTypes.includes(channelList[c][0])) {
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
channelList[c] = chanTypes[0] + channelList[c];
}
}
@ -27,7 +26,6 @@ function input(args: string[]) {
switchToChannel(chan);
} else {
socket.emit("input", {
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
text: `/join ${channels} ${args.length > 1 ? args[1] : ""}`,
target: store.state.activeChannel.channel.id,
});