diff --git a/web/src/containers/Studio/index.tsx b/web/src/containers/Studio/index.tsx index 7174d2e..acb65a1 100644 --- a/web/src/containers/Studio/index.tsx +++ b/web/src/containers/Studio/index.tsx @@ -46,7 +46,11 @@ const Studio = () => { axios .post(`/SASjsApi/code/execute`, { code }) .then((res: any) => { - setLog(`

SAS Log

${res?.data?.log}
`) + const parsedLog = res?.data?.log + .map((logLine: any) => logLine.line) + .join('\n') + + setLog(`

SAS Log

${parsedLog}
`) let weboutString: string try {