Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicodecleyre committed Sep 1, 2023
1 parent 97568e7 commit cb5336f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/m365/todo/commands/task/task-remove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class TodoTaskRemoveCommand extends GraphCommand {
}

public async commandAction(logger: Logger, args: CommandArgs): Promise<void> {
if (args.options.confirm) {
if (args.options.force) {
await this.removeToDoTask(args);
}
else {
Expand Down
2 changes: 1 addition & 1 deletion src/m365/yammer/commands/group/group-user-remove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class YammerGroupUserRemoveCommand extends YammerCommand {
}

public async commandAction(logger: Logger, args: CommandArgs): Promise<void> {
if (args.options.confirm) {
if (args.options.force) {
await this.executeRemoveAction(args);
}
else {
Expand Down

0 comments on commit cb5336f

Please sign in to comment.