@oclif/command
Advanced tools
Comparing version 1.4.13 to 1.4.14
@@ -0,1 +1,9 @@ | ||
<a name="1.4.14"></a> | ||
## [1.4.14](https://github.com/oclif/command/compare/v1.4.13...v1.4.14) (2018-04-21) | ||
### Bug Fixes | ||
* stop cli-ux action on error ([cd7e1e1](https://github.com/oclif/command/commit/cd7e1e1)) | ||
<a name="1.4.13"></a> | ||
@@ -2,0 +10,0 @@ ## [1.4.13](https://github.com/oclif/command/compare/v1.4.12...v1.4.13) (2018-04-09) |
@@ -76,4 +76,11 @@ "use strict"; | ||
} | ||
else | ||
else { | ||
try { | ||
const { cli } = require('cli-ux'); | ||
const chalk = require('chalk'); | ||
cli.action.stop(chalk.bold.red('!')); | ||
} | ||
catch (_a) { } | ||
throw err; | ||
} | ||
} | ||
@@ -80,0 +87,0 @@ async finally(_) { |
{ | ||
"name": "@oclif/command", | ||
"description": "oclif base command", | ||
"version": "1.4.13", | ||
"version": "1.4.14", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -20,4 +20,4 @@ "bugs": "https://github.com/oclif/command/issues", | ||
"devDependencies": { | ||
"@oclif/config": "^1.4.12", | ||
"@oclif/plugin-help": "^1.2.3", | ||
"@oclif/config": "^1.6.4", | ||
"@oclif/plugin-help": "^1.2.4", | ||
"@oclif/plugin-plugins": "^1.0.8", | ||
@@ -27,8 +27,8 @@ "@oclif/tslint": "^1.1.0", | ||
"@types/mocha": "^5.0.0", | ||
"@types/node": "^9.6.2", | ||
"@types/node": "^9.6.5", | ||
"@types/semver": "^5.5.0", | ||
"chai": "^4.1.2", | ||
"fancy-test": "^1.0.4", | ||
"mocha": "^5.0.5", | ||
"ts-node": "^5.0.1", | ||
"fancy-test": "^1.0.5", | ||
"mocha": "^5.1.0", | ||
"ts-node": "^6.0.0", | ||
"tslint": "^5.9.1", | ||
@@ -35,0 +35,0 @@ "typescript": "^2.8.1" |
46872
393