We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc7c5c commit 72babbfCopy full SHA for 72babbf
2 files changed
bin/cli.js
@@ -56,6 +56,7 @@ async function main() {
56
try {
57
spec = await loadSpec(pathToSpec, { log: output !== "STDOUT" });
58
} catch (err) {
59
+ process.exitCode = 1; // needed for async functions
60
throw new Error(red(`❌ ${err}`));
61
}
62
0 commit comments