nestia 2.0.7-dev.20220414-2 → 2.0.7-dev.20220414-3

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.
@@ -72,7 +72,6 @@ var __values = (this && this.__values) || function(o) {
72
72
  };
73
73
  Object.defineProperty(exports, "__esModule", { value: true });
74
74
  var cp = __importStar(require("child_process"));
75
- var path = __importStar(require("path"));
76
75
  var process = __importStar(require("process"));
77
76
  function install() {
78
77
  var e_1, _a;
@@ -98,7 +97,7 @@ function sdk() {
98
97
  switch (_a.label) {
99
98
  case 0:
100
99
  // EXECUTE THE COMMAND, BUT IGNORE WARNINGS
101
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require(path.relative(process.cwd(), "".concat(__dirname, "/../executable/sdk.js")))); })];
100
+ return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require("".concat(__dirname, "/sdk.js"))); })];
102
101
  case 1:
103
102
  // EXECUTE THE COMMAND, BUT IGNORE WARNINGS
104
103
  _a.sent();
@@ -97,7 +97,7 @@ function get_nestia_config() {
97
97
  switch (_a.label) {
98
98
  case 0:
99
99
  connector = new WorkerConnector_1.WorkerConnector(null, null, "process");
100
- return [4 /*yield*/, connector.connect(path.relative(process.cwd(), __dirname + "/internal/nestia.config.getter.js"))];
100
+ return [4 /*yield*/, connector.connect(__dirname + "/internal/nestia.config.getter.js")];
101
101
  case 1:
102
102
  _a.sent();
103
103
  return [4 /*yield*/, connector.getDriver()];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestia",
3
- "version": "2.0.7-dev.20220414-2",
3
+ "version": "2.0.7-dev.20220414-3",
4
4
  "description": "Automatic SDK and Document generator for the NestJS",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",