@sasjs/adapter 3.7.1 → 3.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -65,8 +65,12 @@ export class SasJsJobExecutor extends BaseJobExecutor {
|
|
|
65
65
|
let jsonResponse = res.result
|
|
66
66
|
|
|
67
67
|
if (config.debug) {
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
if (typeof res.result._webout === 'object') {
|
|
69
|
+
jsonResponse = res.result._webout
|
|
70
|
+
} else {
|
|
71
|
+
const webout = parseWeboutResponse(res.result._webout, apiUrl)
|
|
72
|
+
jsonResponse = getValidJson(webout)
|
|
73
|
+
}
|
|
70
74
|
} else {
|
|
71
75
|
jsonResponse = getValidJson(res.result._webout)
|
|
72
76
|
}
|
|
@@ -178,8 +178,12 @@ export class WebJobExecutor extends BaseJobExecutor {
|
|
|
178
178
|
: res.result
|
|
179
179
|
break
|
|
180
180
|
case ServerType.Sasjs:
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
if (typeof res.result._webout === 'object') {
|
|
182
|
+
jsonResponse = res.result._webout
|
|
183
|
+
} else {
|
|
184
|
+
const webout = parseWeboutResponse(res.result._webout, apiUrl)
|
|
185
|
+
jsonResponse = getValidJson(webout)
|
|
186
|
+
}
|
|
183
187
|
break
|
|
184
188
|
}
|
|
185
189
|
} else if (this.serverType === ServerType.Sasjs) {
|