strictNullChecks (#4666)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
This commit is contained in:
@ -32,7 +32,7 @@ export const serverLogger = new Logger('server', 'gray', false);
|
||||
const app = new Koa();
|
||||
app.proxy = true;
|
||||
|
||||
if (!['production', 'test'].includes(process.env.NODE_ENV)) {
|
||||
if (!['production', 'test'].includes(process.env.NODE_ENV || '')) {
|
||||
// Logger
|
||||
app.use(koaLogger(str => {
|
||||
serverLogger.info(str);
|
||||
|
Reference in New Issue
Block a user