()
| 299 | } |
| 300 | |
| 301 | async function removeProjectInUserAccount() { |
| 302 | using codebuild = disposable( |
| 303 | () => new CodeBuildClient(sdkConfig), |
| 304 | (client) => client.destroy(), |
| 305 | ); |
| 306 | try { |
| 307 | await codebuild.send( |
| 308 | new DeleteProjectCommand({ |
| 309 | name: resource.properties.project.split("/").pop()!, |
| 310 | }), |
| 311 | ); |
| 312 | } catch (e: any) { |
| 313 | console.error(e); |
| 314 | } |
| 315 | } |
| 316 | }, |
| 317 | ); |
| 318 |
no test coverage detected