( path: string, reminderId: string, context?: TaskNotesMutationContext )
| 2143 | } |
| 2144 | |
| 2145 | private async removeReminder( |
| 2146 | path: string, |
| 2147 | reminderId: string, |
| 2148 | context?: TaskNotesMutationContext |
| 2149 | ): Promise<TaskInfo> { |
| 2150 | const task = await this.requireTask(path); |
| 2151 | const reminders = (task.reminders ?? []).filter((reminder) => reminder.id !== reminderId); |
| 2152 | return this.updateTask(task.path, { reminders }, context); |
| 2153 | } |
| 2154 | |
| 2155 | private async addDependency( |
| 2156 | path: string, |
no test coverage detected