@oclif/core
Advanced tools
Comparing version 0.5.25 to 0.5.26
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.5.26](https://github.com/oclif/core/compare/v0.5.25...v0.5.26) (2021-07-22) | ||
### Bug Fixes | ||
* set exitCode on --json errors ([67f5eea](https://github.com/oclif/core/commit/67f5eea6e43345203ba7a79f5d27aeb65e7c2bab)) | ||
### [0.5.25](https://github.com/oclif/core/compare/v0.5.24...v0.5.25) (2021-07-22) | ||
@@ -7,0 +14,0 @@ |
@@ -109,2 +109,4 @@ "use strict"; | ||
async catch(err) { | ||
var _a, _b; | ||
process.exitCode = (_b = (_a = process.exitCode) !== null && _a !== void 0 ? _a : err.exitCode) !== null && _b !== void 0 ? _b : 1; | ||
if (this.jsonEnabled()) { | ||
@@ -121,3 +123,3 @@ cli_ux_1.cli.styledJSON(this.toErrorJson(err)); | ||
} | ||
catch (_a) { } | ||
catch (_c) { } | ||
throw err; | ||
@@ -124,0 +126,0 @@ } |
{ | ||
"name": "@oclif/core", | ||
"description": "base library for oclif CLIs", | ||
"version": "0.5.25", | ||
"version": "0.5.26", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/core/issues", |
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
198127
5061