From b9edc0c7586dd7e1443fa655ea9ebdb0ac5d52cb Mon Sep 17 00:00:00 2001 From: Krisztian Balla Date: Thu, 7 Jan 2021 21:51:20 +0100 Subject: [PATCH] Terminate gracefully --- 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) {