файл пакета→ .shtukbase/packages/design-components/lib/report.ts
lib/report.ts
5 строк, 236 Б.
Файл как есть в пакете: код и комментарии в нём не переводятся.
- // 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;
- }