diff --git a/meta.json b/meta.json index 75f91dc..639a010 100644 --- a/meta.json +++ b/meta.json @@ -1,6 +1,6 @@ { "name": "logging", - "version": "3.1.1", + "version": "3.1.2", "description": "", "author": "Fabian Stamm ", "contributors": [], diff --git a/package.json b/package.json index 04bdbb9..49a07bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hibas123/logging", - "version": "3.1.1", + "version": "3.1.2", "description": "", "main": "out/index.js", "types": "out/index.d.ts", diff --git a/src/base.ts b/src/base.ts index ddbdc1d..4979e4f 100644 --- a/src/base.ts +++ b/src/base.ts @@ -222,7 +222,7 @@ export class LoggingBase extends LoggingInterface { if (!init) { add(); } else { - Promise.resolve(init).then(add); + await Promise.resolve(init).then(add); } }