From 0839d66d7ef8e3f06da8ddd205408ca25033111e Mon Sep 17 00:00:00 2001 From: Mara Date: Sat, 4 May 2024 13:49:34 +0200 Subject: [PATCH] refactor: always console.error without needing dev --- src/utils/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils/index.ts b/src/utils/index.ts index ecd62200..1bfe8930 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -78,6 +78,10 @@ function callFunction(type?: boolean):string { export function logs(args: LogsParameters, ...messages: unknown[]) { const settings = args.settings as GitHubPublisherSettings; args.logs = true; + if (args.e) { + notif(args, ...messages); + return; + } if (settings.plugin?.dev) { notif(args, ...messages); }