@sasjs/cli 4.13.0 → 4.14.0

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.
@@ -230,7 +230,7 @@ function createApp(folderPath, repoUrl, docsUrl, errorCallback, installDependenc
230
230
  var zipWithoutExtension = zipName.replace('.zip', '');
231
231
  var zip = new adm_zip_1.default(zipName);
232
232
  zip.extractAllTo("./", true);
233
- shelljs_1.default.cp('-r', "./*".concat(zipWithoutExtension, "/."), folderPath);
233
+ shelljs_1.default.cp('-r', "".concat(shelljs_1.default.ls('-d', "./*".concat(zipWithoutExtension))[0], "/."), folderPath);
234
234
  shelljs_1.default.rm('-rf', ["./*".concat(zipWithoutExtension)]);
235
235
  shelljs_1.default.rm('-rf', ["./".concat(zipName)]);
236
236
  loadDocsSubmodule(docsUrl, folderPath, fullZipPath);
@@ -265,7 +265,7 @@ var loadDocsSubmodule = function (docsUrl, folderPath, zipPath) { return __await
265
265
  downloadFile("".concat(docsUrl).concat(zipPath), 'main.zip');
266
266
  zip = new adm_zip_1.default('main.zip');
267
267
  zip.extractAllTo('./', true);
268
- shelljs_1.default.cp('-r', "./*-main/.", docsFolderPath);
268
+ shelljs_1.default.cp('-r', "".concat(shelljs_1.default.ls('-d', "./*-main")[0], "/."), docsFolderPath);
269
269
  shelljs_1.default.rm('-rf', ["./*-main"]);
270
270
  shelljs_1.default.rm('-rf', ["./main.zip"]);
271
271
  return [2 /*return*/];
package/package.json CHANGED
@@ -50,10 +50,10 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@sasjs/adapter": "^4.16.3",
54
- "@sasjs/core": "4.60.0",
53
+ "@sasjs/adapter": "4.16.3",
54
+ "@sasjs/core": "4.61.0",
55
55
  "@sasjs/lint": "2.4.3",
56
- "@sasjs/utils": "3.5.2",
56
+ "@sasjs/utils": "3.5.6",
57
57
  "adm-zip": "0.5.10",
58
58
  "chalk": "4.1.2",
59
59
  "dotenv": "16.0.3",
@@ -66,7 +66,7 @@
66
66
  "node-graphviz": "0.1.1",
67
67
  "node-powershell": "5.0.1",
68
68
  "ora": "5.4.1",
69
- "shelljs": "0.8.5",
69
+ "shelljs": "0.10.0",
70
70
  "ssl-root-cas": "1.3.1",
71
71
  "xml": "1.0.1",
72
72
  "yargs": "17.6.2"
@@ -100,5 +100,5 @@
100
100
  "typescript": "4.9.5",
101
101
  "util": "0.12.4"
102
102
  },
103
- "version": "4.13.0"
103
+ "version": "4.14.0"
104
104
  }