1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-11 06:10:05 +00:00

feat(*): recreate package with new name

This commit is contained in:
Krishna Acondy
2020-07-07 19:53:35 +01:00
commit 066f953863
150 changed files with 48625 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
export const parseSasViyaLog = (logResponse: { items: any[] }) => {
let log;
try {
log = logResponse.items
? logResponse.items.map((i) => i.line).join("\n")
: JSON.stringify(logResponse);
} catch (e) {
console.error("An error has occurred while parsing the log response", e);
log = logResponse;
}
return log;
};