diff --git a/package-lock.json b/package-lock.json index cfe69d8..b4b2ed8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@athenna/core", - "version": "3.5.0", + "version": "3.5.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@athenna/core", - "version": "3.5.0", + "version": "3.5.1", "license": "MIT", "dependencies": { "pretty-repl": "^3.1.1", diff --git a/package.json b/package.json index ac66469..70d1125 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@athenna/core", - "version": "3.5.0", + "version": "3.5.1", "description": "The plug and play Node.js framework.", "license": "MIT", "author": "João Lenon ", diff --git a/src/Helpers/LoadHelper.ts b/src/Helpers/LoadHelper.ts index 4476962..a79c87b 100644 --- a/src/Helpers/LoadHelper.ts +++ b/src/Helpers/LoadHelper.ts @@ -65,7 +65,7 @@ export class LoadHelper { */ public static async shutdownProviders(): Promise { await Exec.concurrently(this.providers, Provider => { - if (Config.is('rc.bootLogs', true)) { + if (Config.is('rc.shutdownLogs', true)) { Log.channelOrVanilla('application').success( `Provider ({yellow} ${Provider.name}) successfully shutdown`, ) diff --git a/tests/Unit/Helpers/LoadHelperTest.ts b/tests/Unit/Helpers/LoadHelperTest.ts index 0faa34c..cd8fa7f 100644 --- a/tests/Unit/Helpers/LoadHelperTest.ts +++ b/tests/Unit/Helpers/LoadHelperTest.ts @@ -142,8 +142,8 @@ export default class LoadHelperTest extends BaseTest { } @Test() - public async shouldBeAbleToLogThatProvidersAreShutingdownIfRcBootLogsIsTrue({ assert }: TestContext) { - Config.set('rc.bootLogs', true) + public async shouldBeAbleToLogThatProvidersAreShutingdownIfRcShutdownLogsIsTrue({ assert }: TestContext) { + Config.set('rc.shutdownLogs', true) const mock = Log.getMock() const successFake = fake()