From 97b0a2cafc7c32d264fb3317e8a5ddaea61978a3 Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Mon, 4 Apr 2022 01:17:50 +0000 Subject: Formatting and linting fixes --- src/index.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts index d101ba3..ae15509 100644 --- a/src/index.ts +++ b/src/index.ts @@ -60,10 +60,16 @@ handleStartup(ENV_CONFIG, logger).then((mongo) => { // actual app routes app.use(routes(metadata)); - app.use(expressWinston.errorLogger(loggerConfig("_ERR", ENV_CONFIG.logLevel))); + app.use( + expressWinston.errorLogger(loggerConfig("_ERR", ENV_CONFIG.logLevel)) + ); const server = app.listen(ENV_CONFIG.port, ENV_CONFIG.bindAddress, () => { - logger.info("Express has started: http://%s:%d/", ENV_CONFIG.bindAddress, ENV_CONFIG.port); + logger.info( + "Express has started: http://%s:%d/", + ENV_CONFIG.bindAddress, + ENV_CONFIG.port + ); }); // application exit handling -- cgit