mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-05 11:40:06 +00:00
chore(cleanup): remove console logs
This commit is contained in:
@@ -48,8 +48,8 @@ export async function saveLog(
|
|||||||
`${jobLogUrl.href}/content`,
|
`${jobLogUrl.href}/content`,
|
||||||
startLine,
|
startLine,
|
||||||
endLine
|
endLine
|
||||||
).catch((e) => console.log(e))
|
)
|
||||||
|
|
||||||
logger.info(`Writing logs to ${logFileStream.path}`)
|
logger.info(`Writing logs to ${logFileStream.path}`)
|
||||||
await writeStream(logFileStream, log || '').catch((e) => console.log(e))
|
await writeStream(logFileStream, log || '')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -299,7 +299,6 @@ describe('executeScript', () => {
|
|||||||
true
|
true
|
||||||
).catch((e) => e)
|
).catch((e) => e)
|
||||||
|
|
||||||
console.log(error)
|
|
||||||
expect(error).toContain('Error while posting job')
|
expect(error).toContain('Error while posting job')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user