@sasjs/cli 3.8.6 → 3.8.7

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.
@@ -117,6 +117,7 @@ function runSasJob(target, isLocal, sasJobLocation, dataFilePath, configFilePath
117
117
  (0, displayResult_1.displayError)(null, 'Login callback called. Request failed.');
118
118
  }, authConfig)
119
119
  .then(function (res) { return __awaiter(_this, void 0, void 0, function () {
120
+ var output;
120
121
  return __generator(this, function (_a) {
121
122
  switch (_a.label) {
122
123
  case 0:
@@ -127,10 +128,14 @@ function runSasJob(target, isLocal, sasJobLocation, dataFilePath, configFilePath
127
128
  _a.sent();
128
129
  return [2 /*return*/];
129
130
  case 2:
131
+ output = '';
130
132
  if (res === null || res === void 0 ? void 0 : res.result)
131
- res = res.result;
132
- return [4 /*yield*/, writeOutput(outputPathParam, res, isLocal)];
133
+ output = res.result;
134
+ return [4 /*yield*/, writeOutput(outputPathParam, output, isLocal)];
133
135
  case 3:
136
+ _a.sent();
137
+ return [4 /*yield*/, saveLogFile(sasjs, sasJobLocation, logFile, jobPath)];
138
+ case 4:
134
139
  _a.sent();
135
140
  result = true;
136
141
  return [2 /*return*/];
package/package.json CHANGED
@@ -47,7 +47,7 @@
47
47
  "access": "public"
48
48
  },
49
49
  "dependencies": {
50
- "@sasjs/adapter": "^3.7.13",
50
+ "@sasjs/adapter": "^3.7.14",
51
51
  "@sasjs/core": "4.15.3",
52
52
  "@sasjs/lint": "1.11.2",
53
53
  "@sasjs/utils": "2.36.0",
@@ -94,5 +94,5 @@
94
94
  "typescript": "4.5.4",
95
95
  "util": "0.12.4"
96
96
  },
97
- "version": "3.8.6"
97
+ "version": "3.8.7"
98
98
  }