diff --git a/logger.js b/logger.js index cef62fd..6893cdf 100644 --- a/logger.js +++ b/logger.js @@ -5,6 +5,7 @@ const Logger = require('@voiceflow/logger'); // eslint-disable-next-line no-process-env const options = ['local', 'test'].includes(process.env.NODE_ENV) ? { level: 'info', stackTrace: true, pretty: true } : {}; -const log = new Logger(options); +// eslint-disable-next-line new-cap +const log = new Logger.default(options); module.exports = log;