diff --git a/src/Notification/Presentation/Commands/CreateVapID.ts b/src/Notification/Presentation/Commands/CreateVapID.ts index 22bb64e9..a63fa2a5 100644 --- a/src/Notification/Presentation/Commands/CreateVapID.ts +++ b/src/Notification/Presentation/Commands/CreateVapID.ts @@ -13,10 +13,10 @@ CreateVapID if (vapidKeys) { - void Logger.info('publicKey:'); - void Logger.info(vapidKeys.publicKey); - void Logger.info('privateKey:'); - void Logger.info(vapidKeys.privateKey); + Logger.info('publicKey:'); + Logger.info(vapidKeys.publicKey); + Logger.info('privateKey:'); + Logger.info(vapidKeys.privateKey); } }); diff --git a/src/Shared/Factories/SeedFactory.ts b/src/Shared/Factories/SeedFactory.ts index acfecb5b..cda77c21 100644 --- a/src/Shared/Factories/SeedFactory.ts +++ b/src/Shared/Factories/SeedFactory.ts @@ -14,8 +14,8 @@ class SeedFactory public list(): void { - void Logger.info('⬐ Seed List'); - Object.keys(this.seeds).forEach(name => void Logger.info(`↳ ${name}`)); + Logger.info('⬐ Seed List'); + Object.keys(this.seeds).forEach(name => Logger.info(`↳ ${name}`)); } public async init(): Promise @@ -29,17 +29,17 @@ class SeedFactory await (new this.seeds[name]()).init(); - void Logger.info(`→ ${name} run successfully ✔`); + Logger.info(`→ ${name} run successfully ✔`); } private async all(): Promise { - void Logger.info('⬐ All Seed Run'); + Logger.info('⬐ All Seed Run'); for await (const name of Object.keys(this.seeds)) { await (new this.seeds[name]()).init(); - void Logger.info(`↳ ${name} run successfully ✔`); + Logger.info(`↳ ${name} run successfully ✔`); } } diff --git a/src/closed.ts b/src/closed.ts index 6a0e6c14..4be74ae8 100644 --- a/src/closed.ts +++ b/src/closed.ts @@ -10,7 +10,7 @@ const closedApplication = (server: Server, cache: ICacheRepository, createConnec { function onSignal() { - void Logger.info('server is starting cleanup'); + Logger.info('server is starting cleanup'); cache.close(); return Promise.all([ createConnection.close(true), @@ -20,7 +20,7 @@ const closedApplication = (server: Server, cache: ICacheRepository, createConnec function onShutdown() { - void Logger.info('cleanup finished, server is shutting down'); + Logger.info('cleanup finished, server is shutting down'); cache.close(); return Promise.all([ createConnection.close(true),