({ args })
| 34 | }, |
| 35 | }, |
| 36 | async run({ args }) { |
| 37 | const content = await readInput(args.file); |
| 38 | const report = lint(content); |
| 39 | |
| 40 | const output = { |
| 41 | findings: report.findings, |
| 42 | summary: report.summary, |
| 43 | }; |
| 44 | |
| 45 | console.log(formatOutput(output, args)); |
| 46 | process.exitCode = report.summary.errors > 0 ? 1 : 0; |
| 47 | }, |
| 48 | }); |
nothing calls this directly
no test coverage detected