From 2c04717849cb2f664069b4dd5ce94db199eafc69 Mon Sep 17 00:00:00 2001 From: Brian Botha Date: Wed, 21 Sep 2022 19:45:19 +1000 Subject: [PATCH] syntax: formatting change for `ExitHandlers.ts` --- src/bin/utils/ExitHandlers.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/utils/ExitHandlers.ts b/src/bin/utils/ExitHandlers.ts index a9abcfaff2..359d161669 100644 --- a/src/bin/utils/ExitHandlers.ts +++ b/src/bin/utils/ExitHandlers.ts @@ -11,6 +11,7 @@ class ExitHandlers { public handlers: Array<(signal?: NodeJS.Signals) => Promise>; protected _exiting: boolean = false; protected _errFormat: 'json' | 'error'; + /** * Handles termination signals * This is idempotent @@ -52,6 +53,7 @@ class ExitHandlers { process.kill(process.pid, signal); } }; + /** * Handles asynchronous exceptions * This prints out appropriate error message on STDERR @@ -75,6 +77,7 @@ class ExitHandlers { // Fail fast pattern process.exit(); }; + /** * Handles synchronous exceptions * This prints out appropriate error message on STDERR