MCPcopy Create free account
hub / github.com/anomalyco/console / removeProjectInUserAccount

Function removeProjectInUserAccount

packages/core/src/run/codebuild-runner.ts:301–315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

disposableFunction · 0.90

Tested by

no test coverage detected