From 9f8cd0d71830bb7b00267c480501903693545644 Mon Sep 17 00:00:00 2001 From: Maxi Montenegro Date: Mon, 23 May 2022 22:45:33 -0300 Subject: [PATCH 1/5] A ver sonarcloud --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 04fdf06..22a6edd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -20,7 +20,7 @@ app.get('/', (_req, res) => { db.connectDB(); app.listen(port, () => { - console.log(`The application is listening on port ${port}!!`); + console.log(`The application is listening on port ${port}!!!`); }); const userRouter = container.resolve(UserRoutes); From f0a6226e280bbda815733005d9787bd1a7ec767c Mon Sep 17 00:00:00 2001 From: Maxi Montenegro Date: Mon, 23 May 2022 22:50:22 -0300 Subject: [PATCH 2/5] Duplico linea --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 22a6edd..29c686f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,6 +21,7 @@ db.connectDB(); app.listen(port, () => { console.log(`The application is listening on port ${port}!!!`); + console.log(`The application is listening on port ${port}!!!`); }); const userRouter = container.resolve(UserRoutes); From 4e97283b23976804463701277b5a52c272fa7278 Mon Sep 17 00:00:00 2001 From: Maxi Montenegro Date: Mon, 23 May 2022 22:51:38 -0300 Subject: [PATCH 3/5] Add semicolon --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 29c686f..39e352d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -23,7 +23,7 @@ app.listen(port, () => { console.log(`The application is listening on port ${port}!!!`); console.log(`The application is listening on port ${port}!!!`); }); - +; const userRouter = container.resolve(UserRoutes); app.use('/users', userRouter.router); From 7eed499211e24402962e0e3acd5723e80b4e913b Mon Sep 17 00:00:00 2001 From: Maxi Montenegro Date: Mon, 23 May 2022 22:53:12 -0300 Subject: [PATCH 4/5] Probando sonnar cloud --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 39e352d..5dff556 100644 --- a/src/index.ts +++ b/src/index.ts @@ -20,7 +20,7 @@ app.get('/', (_req, res) => { db.connectDB(); app.listen(port, () => { - console.log(`The application is listening on port ${port}!!!`); + console.log(`The application is listening on port ${port}!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!`); console.log(`The application is listening on port ${port}!!!`); }); ; From e9859e367ec1adb822774219590b51b3ed282fca Mon Sep 17 00:00:00 2001 From: Maxi Montenegro Date: Wed, 8 Jun 2022 18:41:06 -0300 Subject: [PATCH 5/5] Remove unnecessary semicolons --- src/db.ts | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db.ts b/src/db.ts index 2aa1ade..e71af05 100644 --- a/src/db.ts +++ b/src/db.ts @@ -7,7 +7,7 @@ async function connectDB() { }) .catch((e) => { console.log(e); - });; + }); } function disconnectDB() { diff --git a/src/index.ts b/src/index.ts index bf74977..9d4507b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -20,7 +20,7 @@ db.connectDB(); app.listen(port, () => { console.log(`The application is listening on port ${port}!!!`); }); -; + const userRouter = container.resolve(UserRoutes); app.use('/users', userRouter.router);