ng-openapi 0.1.13 → 0.1.14
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/cli.cjs +3 -2
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -44,7 +44,7 @@ var fs4 = __toESM(require("fs"));
|
|
|
44
44
|
var path12 = __toESM(require("path"));
|
|
45
45
|
|
|
46
46
|
// package.json
|
|
47
|
-
var version = "0.1.
|
|
47
|
+
var version = "0.1.13";
|
|
48
48
|
|
|
49
49
|
// src/lib/core/generator.ts
|
|
50
50
|
var import_ts_morph7 = require("ts-morph");
|
|
@@ -2820,10 +2820,11 @@ async function generateFromOptions(options) {
|
|
|
2820
2820
|
console.log("\u2728 Generation completed successfully!");
|
|
2821
2821
|
} catch (error) {
|
|
2822
2822
|
console.error("\u274C Generation failed:", error instanceof Error ? error.message : error);
|
|
2823
|
+
process.exit(1);
|
|
2823
2824
|
} finally {
|
|
2824
2825
|
const duration = ((/* @__PURE__ */ new Date()).getTime() - timestamp) / 1e3;
|
|
2825
2826
|
console.log(`\u23F1\uFE0F Duration: ${duration.toFixed(2)} seconds`);
|
|
2826
|
-
process.exit(
|
|
2827
|
+
process.exit(0);
|
|
2827
2828
|
}
|
|
2828
2829
|
}
|
|
2829
2830
|
__name(generateFromOptions, "generateFromOptions");
|