Skip to content

Commit

Permalink
test undo semiconlons
Browse files Browse the repository at this point in the history
  • Loading branch information
lindot11 committed Nov 25, 2023
1 parent 5264b71 commit 631137b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions servers/lib/src/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand All @@ -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);
Expand Down

0 comments on commit 631137b

Please sign in to comment.