diff --git a/src/cli/commands/logout.command.ts b/src/cli/commands/logout.command.ts index 34413191e5d..747cbcefd7a 100644 --- a/src/cli/commands/logout.command.ts +++ b/src/cli/commands/logout.command.ts @@ -10,7 +10,7 @@ export class LogoutCommand { constructor(private authService: AuthService, private i18nService: I18nService, private logoutCallback: () => Promise) { } - async run(cmd: program.Command) { + async run() { await this.logoutCallback(); this.authService.logOut(() => { /* Do nothing */ }); const res = new MessageResponse('You have logged out.', null);