Skip to content

Commit f551dec

Browse files
committed
fix: demo
1 parent e156f4a commit f551dec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/nestjs/src/main.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { installRunnable } from '@runnablejs/express';
22
import { NestFactory } from '@nestjs/core';
3-
import { Logger } from '@nestjs/common';
43
import { AppModule } from './app.module';
54

65
async function bootstrap() {
@@ -12,8 +11,8 @@ async function bootstrap() {
1211
installRunnable(app.getHttpServer()._events.request, actions, context);
1312

1413
await app.listen(process.env.PORT || 3007);
15-
const logger = app.get(Logger);
16-
logger.log(`Application is running on: ${await app.getUrl()}/admin`);
14+
// eslint-disable-next-line no-console
15+
console.log(`Application is running on: ${await app.getUrl()}/admin`);
1716
}
1817

1918
bootstrap();

0 commit comments

Comments
 (0)