From 6dd7f6274a8f81e8cb0d853fa03dcfbe28805897 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 22 Sep 2022 12:30:04 +0200 Subject: [PATCH] fix: error during saving logs --- apps/api/src/lib/common.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts index 096765404..881764ef4 100644 --- a/apps/api/src/lib/common.ts +++ b/apps/api/src/lib/common.ts @@ -94,7 +94,6 @@ export const asyncExecShellStream = async ({ const array = stdout.split('\n'); for (const line of array) { if (line !== '\n' && line !== '') { - logs.push(line.replace('\n', '')) debug && await saveBuildLog({ line: `${line.replace('\n', '')}`, buildId, @@ -108,7 +107,6 @@ export const asyncExecShellStream = async ({ const array = stderr.split('\n'); for (const line of array) { if (line !== '\n' && line !== '') { - errorLogs.push(line.replace('\n', '')) debug && await saveBuildLog({ line: `${line.replace('\n', '')}`, buildId,