mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-19 14:46:36 +02:00
Fix eslint in commands/join
This commit is contained in:
parent
cb0c6222cf
commit
592a9763ab
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue