(project: string, type: string, resource: string)
| 148 | } |
| 149 | |
| 150 | removeTarget(project: string, type: string, resource: string): string | null { |
| 151 | const name = this.findTarget(project, type, resource); |
| 152 | if (!name) { |
| 153 | return null; |
| 154 | } |
| 155 | |
| 156 | this.unsetTargetResource(project, type, name, resource); |
| 157 | this.save(); |
| 158 | return name; |
| 159 | } |
| 160 | |
| 161 | /** |
| 162 | * Clears a specific target. |
no test coverage detected