From 3e6278c5d23a9a2a07a755b0b8b323882813305f Mon Sep 17 00:00:00 2001 From: TinnyTerr <168141209+TinnyTerr@users.noreply.github.com> Date: Sun, 24 Nov 2024 15:20:54 +0000 Subject: [PATCH] removing unnecessary comments Signed-off-by: TinnyTerr <168141209+TinnyTerr@users.noreply.github.com> --- src/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 630a335..c1efedb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -55,16 +55,13 @@ export default class Logger { this[level.name] = (...data: any[]) => { return new Promise((resolve, reject) => { try { - // Assuming logs methods are logging and handling data this.logs.console(i, ...data); this.logs.files(i, ...data); this.logs.funcs(i, ...data); this.logs.web(i, ...data); - // Resolving the promise after the logs resolve(); } catch (error) { - // Rejecting the promise if there's an error reject(error); } });