archivo del paquete→ .shtukbase/packages/design-components/lib/report.ts
lib/report.ts
5 líneas, 236 B.
El archivo tal como está en el paquete: el código y sus comentarios no se traducen.
- // The shape of every check of this package: findings one per line, exit code 1 when there are any.
- export function report(out: string[]): void {
- if (out.length) console.log(out.join('\n'));
- process.exitCode = out.length ? 1 : 0;
- }