(problem: string)
| 98 | )}\n ark emit [--declare] [--tsconfig <path>] [...the options check takes]\n ark declare [--tsconfig <path>] [--checker <${checkers.join("|")}>]` |
| 99 | |
| 100 | const fail = (problem: string): never => { |
| 101 | if (isCheckJson) emitJsonFailure(problem, 2) |
| 102 | console.error(`${problem}\n${usage}`) |
| 103 | process.exit(2) |
| 104 | } |
| 105 | |
| 106 | // file errors (e.g. an unparseable package.json or ark.json) aren't usage errors |
| 107 | const failSettings = (e: unknown): never => { |
no test coverage detected