diff --git a/servers/lib/src/bootstrap.ts b/servers/lib/src/bootstrap.ts index 3924622be..0be8defc7 100644 --- a/servers/lib/src/bootstrap.ts +++ b/servers/lib/src/bootstrap.ts @@ -4,9 +4,9 @@ import * as dotenv from 'dotenv'; import AppModule from './app.module'; type BootstrapOptions = { - config?: string; - runHelp?: CallableFunction; -}; + config?: string + runHelp?: CallableFunction +} export default async function bootstrap(options?: BootstrapOptions) { const configFile = dotenv.config({ @@ -17,9 +17,9 @@ export default async function bootstrap(options?: BootstrapOptions) { // eslint-disable-next-line no-console console.error(configFile.error); if (options.runHelp) { - options.runHelp(); + options.runHelp() } else { - process.exit(1); + process.exit(1) } } const app = await NestFactory.create(AppModule);