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

chore(cleanup): remove console logs

This commit is contained in:
Krishna Acondy
2021-07-21 08:13:45 +01:00
parent cfa0c8b9af
commit 7bd2e31f3b
2 changed files with 2 additions and 3 deletions

View File

@@ -48,8 +48,8 @@ export async function saveLog(
`${jobLogUrl.href}/content`,
startLine,
endLine
).catch((e) => console.log(e))
)
logger.info(`Writing logs to ${logFileStream.path}`)
await writeStream(logFileStream, log || '').catch((e) => console.log(e))
await writeStream(logFileStream, log || '')
}

View File

@@ -299,7 +299,6 @@ describe('executeScript', () => {
true
).catch((e) => e)
console.log(error)
expect(error).toContain('Error while posting job')
})