@oclif/core 1.13.0 → 1.13.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.13.1](https://github.com/oclif/core/compare/v1.13.0...v1.13.1) (2022-08-02)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * throw appropriate error in runCommand ([#455](https://github.com/oclif/core/issues/455)) ([66e9bbc](https://github.com/oclif/core/commit/66e9bbca08f9e1f4a08e1c8c144bf85c274b7f82))
11
+
5
12
  ## [1.13.0](https://github.com/oclif/core/compare/v1.12.1...v1.13.0) (2022-07-28)
6
13
 
7
14
 
@@ -260,6 +260,9 @@ class Config {
260
260
  const cmdResult = hookResult.successes[0].result;
261
261
  return cmdResult;
262
262
  }
263
+ if (hookResult.failures[0]) {
264
+ throw hookResult.failures[0].error;
265
+ }
263
266
  throw new errors_1.CLIError(`command ${id} not found`);
264
267
  }
265
268
  const command = await c.load();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/core",
3
3
  "description": "base library for oclif CLIs",
4
- "version": "1.13.0",
4
+ "version": "1.13.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {