( path: string, uid: string, context?: TaskNotesMutationContext )
| 2173 | } |
| 2174 | |
| 2175 | private async removeDependency( |
| 2176 | path: string, |
| 2177 | uid: string, |
| 2178 | context?: TaskNotesMutationContext |
| 2179 | ): Promise<TaskInfo> { |
| 2180 | const task = await this.requireTask(path); |
| 2181 | const dependencies = (task.blockedBy ?? []).filter((dependency) => dependency.uid !== uid); |
| 2182 | return this.updateTask( |
| 2183 | task.path, |
| 2184 | { blockedBy: dependencies.length > 0 ? dependencies : undefined }, |
| 2185 | context |
| 2186 | ); |
| 2187 | } |
| 2188 | |
| 2189 | private async startTime( |
| 2190 | path: string, |
no test coverage detected