Comparing version 5.8.0-dev.20240827 to 5.8.0-dev.20240827-2
@@ -74,3 +74,3 @@ "use strict"; | ||
return action((options) => __awaiter(this, void 0, void 0, function* () { | ||
var _a, _b; | ||
var _a, _b, _c; | ||
(_a = options.manager) !== null && _a !== void 0 ? _a : (options.manager = yield select("manager")("Package Manager")([ | ||
@@ -83,6 +83,7 @@ "npm", | ||
(_b = options.project) !== null && _b !== void 0 ? _b : (options.project = yield configure()); | ||
options.swagger = options.swagger | ||
? options.swagger === "true" | ||
: (yield select("swagger")("Transform Runtime Swagger")(["Y", "N"])) === | ||
"Y"; | ||
options.swagger = | ||
((_c = options.swagger) !== null && _c !== void 0 ? _c : (yield select("swagger")("Transform Runtime Swagger")([ | ||
"true", | ||
"false", | ||
]))) === "true"; | ||
if (questioned.value) | ||
@@ -89,0 +90,0 @@ console.log(""); |
{ | ||
"name": "nestia", | ||
"version": "5.8.0-dev.20240827", | ||
"version": "5.8.0-dev.20240827-2", | ||
"description": "Nestia CLI tool", | ||
@@ -5,0 +5,0 @@ "main": "bin/index.js", |
@@ -98,6 +98,8 @@ import commander from "commander"; | ||
options.project ??= await configure(); | ||
options.swagger = options.swagger | ||
? (options.swagger as any) === "true" | ||
: (await select("swagger")("Transform Runtime Swagger")(["Y", "N"])) === | ||
"Y"; | ||
options.swagger = | ||
((options.swagger as string | undefined) ?? | ||
(await select("swagger")("Transform Runtime Swagger")([ | ||
"true", | ||
"false", | ||
]))) === "true"; | ||
@@ -104,0 +106,0 @@ if (questioned.value) console.log(""); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69618
1112