1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

style: lint

This commit is contained in:
2022-03-25 18:11:20 +01:00
parent 1d1ef7179e
commit b0eb8b07a8
2 changed files with 7 additions and 2 deletions

View File

@@ -103,7 +103,10 @@ export class FileUploader extends BaseJobExecutor {
if (typeof res.result._webout === 'object') {
jsonResponse = res.result._webout
} else {
const webout = parseWeboutResponse(res.result._webout, uploadUrl)
const webout = parseWeboutResponse(
res.result._webout,
uploadUrl
)
jsonResponse = getValidJson(webout)
}
break

View File

@@ -138,7 +138,9 @@ export class RequestClient implements HttpClient {
let log: string = ''
if (typeof log !== 'string') {
log = response.result.log.map((logLine: any) => logLine.line).join('\n')
log = response.result.log
.map((logLine: any) => logLine.line)
.join('\n')
}
sourceCode = parseSourceCode(log)