From 0d892ce6a17d7dc3072477087bd0fbdbcaa33530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20Balla?= Date: Fri, 8 Jan 2021 04:22:30 +0100 Subject: [PATCH] fix: Avoid using process.exit (#1461) Explicitly exiting the process caused issues with long running processes used by the typedoc-umlclass plugin --- bin/typedoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/typedoc b/bin/typedoc index 358076628..4a26d5636 100755 --- a/bin/typedoc +++ b/bin/typedoc @@ -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) {