sample: add await to bootstrap calls

This commit is contained in:
Kamil Myśliwiec committed 2026-02-12 20:53:03 +01:00
1 parent 1c046aeea7
commit 62908b4a8b
37 files changed
+37 -37

No files matched your search

+1 -1
View File
@@ -9,4 +9,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -12,4 +12,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -24,4 +24,4 @@ async function bootstrap() {
await app.listen(3001);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -25,4 +25,4 @@ async function bootstrap() {
await app.listen(3001);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -6,4 +6,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -6,4 +6,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -6,4 +6,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -13,4 +13,4 @@ async function bootstrap() {
module.hot.dispose(() => app.close());
}
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -15,4 +15,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -18,4 +18,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -9,4 +9,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -6,4 +6,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -6,4 +6,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -16,4 +16,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -9,4 +9,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -29,4 +29,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -16,4 +16,4 @@ async function bootstrap() {
return app.close();
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -6,4 +6,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -9,4 +9,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -9,4 +9,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -10,4 +10,4 @@ async function bootstrap() {
console.log(`Application is running on: ${await app.getUrl()}`);
console.log(`GraphQL Playground: ${await app.getUrl()}/graphql`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -9,4 +9,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -8,4 +8,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -6,4 +6,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -6,4 +6,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -6,4 +6,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -9,4 +9,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -9,4 +9,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -5,4 +5,4 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
}
bootstrap();
await bootstrap();
@@ -5,4 +5,4 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3001);
}
bootstrap();
await bootstrap();
@@ -5,4 +5,4 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3003);
}
bootstrap();
await bootstrap();
@@ -5,4 +5,4 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3002);
}
bootstrap();
await bootstrap();
@@ -5,4 +5,4 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3002);
}
bootstrap();
await bootstrap();
@@ -5,4 +5,4 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3001);
}
bootstrap();
await bootstrap();
@@ -5,4 +5,4 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -10,4 +10,4 @@ async function bootstrap() {
await app.listen(3000);
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();
await bootstrap();
+1 -1
View File
@@ -16,4 +16,4 @@ async function bootstrap() {
module.hot.dispose(() => app.close());
}
}
bootstrap();
await bootstrap();