mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-18 01:20:05 +00:00
style: lint
This commit is contained in:
@@ -103,7 +103,10 @@ export class FileUploader extends BaseJobExecutor {
|
|||||||
if (typeof res.result._webout === 'object') {
|
if (typeof res.result._webout === 'object') {
|
||||||
jsonResponse = res.result._webout
|
jsonResponse = res.result._webout
|
||||||
} else {
|
} else {
|
||||||
const webout = parseWeboutResponse(res.result._webout, uploadUrl)
|
const webout = parseWeboutResponse(
|
||||||
|
res.result._webout,
|
||||||
|
uploadUrl
|
||||||
|
)
|
||||||
jsonResponse = getValidJson(webout)
|
jsonResponse = getValidJson(webout)
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
|
|||||||
@@ -138,7 +138,9 @@ export class RequestClient implements HttpClient {
|
|||||||
let log: string = ''
|
let log: string = ''
|
||||||
|
|
||||||
if (typeof 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)
|
sourceCode = parseSourceCode(log)
|
||||||
|
|||||||
Reference in New Issue
Block a user