mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-07 04:21:11 +00:00
feat: bundle document before gathering stats (#227)
* feat: bundle document before gathering stats * exitWithError moved to utils
This commit is contained in:
@@ -277,3 +277,8 @@ export function printUnusedWarnings(config: LintConfig) {
|
||||
process.stderr.write(`Check the spelling and verify you added plugin prefix.\n`);
|
||||
}
|
||||
}
|
||||
|
||||
export function exitWithError(message: string) {
|
||||
process.stderr.write(red(message));
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user