diff --git a/packages/dashboard-backend/src/devworkspaceClient/services/helpers/exec.ts b/packages/dashboard-backend/src/devworkspaceClient/services/helpers/exec.ts index ff49fcef1..c2bf3dbae 100644 --- a/packages/dashboard-backend/src/devworkspaceClient/services/helpers/exec.ts +++ b/packages/dashboard-backend/src/devworkspaceClient/services/helpers/exec.ts @@ -104,8 +104,7 @@ export async function exec( return; } - let message = Buffer.from(event.data.substr(1), 'base64').toString('utf-8'); - message = message.replace(/\n/g, ' ').trim(); + const message = Buffer.from(event.data.substr(1), 'base64').toString('utf-8').trim(); if (channel === CHANNELS[CHANNELS.STD_OUT]) { stdOut += message;