fix errors

This commit is contained in:
Evert Prants 2020-12-05 18:15:19 +02:00
parent 9de5c73952
commit 5ccddc474d
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
1 changed files with 3 additions and 3 deletions

View File

@ -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;