MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / statusColor

Function statusColor

packages/cli/src/commands/lambda/progress.ts:73–84  ·  view source on GitHub ↗
(status: string)

Source from the content-addressed store, hash-verified

71}
72
73function statusColor(status: string): string {
74 switch (status) {
75 case "SUCCEEDED":
76 return c.success(status);
77 case "FAILED":
78 case "TIMED_OUT":
79 case "ABORTED":
80 return c.error(status);
81 default:
82 return status;
83 }
84}

Callers 1

runProgressFunction · 0.85

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected