mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-10 09:53:48 +00:00
chore: format (#2030)
* chore: format * chore: add formatter in CI check --------- Co-authored-by: alex-Arc <omnivox@LAPTOP-RC5SNBVV.localdomain>
This commit is contained in:
committed by
GitHub
parent
7e3aaa8c30
commit
73eff20d08
@@ -273,7 +273,7 @@ export async function shutdown(exitCode = 0): Promise<void> {
|
||||
|
||||
shutdownPromise = performShutdown(exitCode);
|
||||
return shutdownPromise;
|
||||
};
|
||||
}
|
||||
|
||||
const closeHttpServer = async (server: Server | null): Promise<void> => {
|
||||
if (!server) return;
|
||||
@@ -344,7 +344,7 @@ async function performShutdown(exitCode: number): Promise<void> {
|
||||
logger.shutdown();
|
||||
process.exit(exitCode);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
process.on('exit', (code) => consoleHighlight(`Ontime shutdown with code: ${code}`));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user