MCPcopy Create free account
hub / github.com/CodeForBreakfast/eventsourcing / displayErrors

Function displayErrors

scripts/validate-changesets.ts:545–546  ·  view source on GitHub ↗
(terminal: Terminal.Terminal, errors: readonly string[])

Source from the content-addressed store, hash-verified

543 terminal.display(`${err}\n`);
544
545const displayErrors = (terminal: Terminal.Terminal, errors: readonly string[]) =>
546 pipe(errors, EffectArray.map(displaySingleError(terminal)), Effect.all, Effect.asVoid);
547
548const displaySinglePackage = (terminal: Terminal.Terminal) => (p: PackageInternal) =>
549 terminal.display(` - ${p.name}\n`);

Callers 1

Calls 1

displaySingleErrorFunction · 0.85

Tested by

no test coverage detected