Skip to content

Commit

Permalink
fix: Avoid using process.exit (#1461)
Browse files Browse the repository at this point in the history
Explicitly exiting the process caused issues with long running processes used by the typedoc-umlclass plugin
  • Loading branch information
krisztianb committed Jan 8, 2021
1 parent 99b9452 commit 0d892ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/typedoc
Expand Up @@ -30,7 +30,7 @@ run(app)
console.error(error);
return ExitCodes.ExceptionThrown;
})
.then(process.exit);
.then((exitCode) => (process.exitCode = exitCode));

/** @param {td.Application} app */
async function run(app) {
Expand Down

0 comments on commit 0d892ce

Please sign in to comment.