From 6183a30a52b3dfeb24ead0d6b4adf34c4703a5c5 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Mon, 8 Feb 2021 13:21:51 -0600 Subject: [PATCH] Remove unused logout argument (#263) --- src/cli/commands/logout.command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);