mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-09 13:30:04 +00:00
fix: code modified in appendRequest method fixes #327
This commit is contained in:
@@ -62,14 +62,14 @@ export abstract class BaseJobExecutor implements JobExecutor {
|
|||||||
let sasWork = null
|
let sasWork = null
|
||||||
|
|
||||||
if (debug) {
|
if (debug) {
|
||||||
if (response?.result && response?.log) {
|
if (response?.log) {
|
||||||
sourceCode = parseSourceCode(response.log)
|
sourceCode = parseSourceCode(response.log)
|
||||||
generatedCode = parseGeneratedCode(response.log)
|
generatedCode = parseGeneratedCode(response.log)
|
||||||
|
|
||||||
if (response.log) {
|
if (response?.result) {
|
||||||
sasWork = response.log
|
|
||||||
} else {
|
|
||||||
sasWork = response.result.WORK
|
sasWork = response.result.WORK
|
||||||
|
} else {
|
||||||
|
sasWork = response.log
|
||||||
}
|
}
|
||||||
} else if (response?.result) {
|
} else if (response?.result) {
|
||||||
sourceCode = parseSourceCode(response.result)
|
sourceCode = parseSourceCode(response.result)
|
||||||
|
|||||||
Reference in New Issue
Block a user