From 5ccddc474d931e941b8bb34b0215a7657d566629 Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Sat, 5 Dec 2020 18:15:19 +0200 Subject: [PATCH] fix errors --- src/cli.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cli.ts b/src/cli.ts index cdc7106..05d978c 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -56,8 +56,8 @@ export class SqueebotCLI { case 'upd': case 'update': if (!args[1]) { - const repos = this.bot.repositoryManager.getAll(); - for (const repo of repos) { + const repolist = this.bot.repositoryManager.getAll(); + for (const repo of repolist) { await this.checkUpdate(repo); } return; @@ -306,7 +306,7 @@ export class SqueebotCLI { if (idx !== -1) { chan2.plugins.splice(idx, 1); } - logger.log('Plugin "%s" added to channel!', name); + logger.log('Plugin "%s" removed from channel!', name); } break;