ng-openapi 0.0.28 → 0.0.30
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 +1 -1
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -2354,7 +2354,7 @@ __name(generateFromConfig, "generateFromConfig");
|
|
|
2354
2354
|
var program = new import_commander.Command();
|
|
2355
2355
|
function getPackageVersion() {
|
|
2356
2356
|
try {
|
|
2357
|
-
const packagePath = path9.join(__dirname, "
|
|
2357
|
+
const packagePath = path9.join(__dirname, "package.json");
|
|
2358
2358
|
const packageJson = JSON.parse(fs4.readFileSync(packagePath, "utf-8"));
|
|
2359
2359
|
return packageJson.version;
|
|
2360
2360
|
} catch {
|