From cb5336ff143e2443613a339d2a36defcd78ecb5d Mon Sep 17 00:00:00 2001 From: Nico De Cleyre Date: Fri, 1 Sep 2023 19:49:20 +0200 Subject: [PATCH] Fix --- src/m365/todo/commands/task/task-remove.ts | 2 +- src/m365/yammer/commands/group/group-user-remove.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/m365/todo/commands/task/task-remove.ts b/src/m365/todo/commands/task/task-remove.ts index b24f575700a..fae8cf7032f 100644 --- a/src/m365/todo/commands/task/task-remove.ts +++ b/src/m365/todo/commands/task/task-remove.ts @@ -65,7 +65,7 @@ class TodoTaskRemoveCommand extends GraphCommand { } public async commandAction(logger: Logger, args: CommandArgs): Promise { - if (args.options.confirm) { + if (args.options.force) { await this.removeToDoTask(args); } else { diff --git a/src/m365/yammer/commands/group/group-user-remove.ts b/src/m365/yammer/commands/group/group-user-remove.ts index 5e9c891dd6a..879115cbc78 100644 --- a/src/m365/yammer/commands/group/group-user-remove.ts +++ b/src/m365/yammer/commands/group/group-user-remove.ts @@ -72,7 +72,7 @@ class YammerGroupUserRemoveCommand extends YammerCommand { } public async commandAction(logger: Logger, args: CommandArgs): Promise { - if (args.options.confirm) { + if (args.options.force) { await this.executeRemoveAction(args); } else {