cli-engine-command
Advanced tools
Comparing version 5.0.2 to 5.0.3
@@ -48,5 +48,5 @@ 'use strict'; | ||
this.http = class extends _httpCall2.default { | ||
async request() { | ||
async _request() { | ||
self._logRequest(this); | ||
await super.request(); | ||
await super._request(); | ||
self._logResponse(this); | ||
@@ -53,0 +53,0 @@ } |
@@ -46,6 +46,7 @@ 'use strict'; | ||
} | ||
fn(); | ||
let ret = fn(); | ||
if (task && active) { | ||
this._resume(); | ||
} | ||
return ret; | ||
} | ||
@@ -52,0 +53,0 @@ |
@@ -34,2 +34,6 @@ 'use strict'; | ||
var _prompt = require('./prompt'); | ||
var _prompt2 = _interopRequireDefault(_prompt); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -132,2 +136,3 @@ | ||
if (this.mock) _chalk2.default.enabled = CustomColors.supports = false; | ||
this.prompter = new _prompt2.default(this); | ||
} | ||
@@ -262,2 +267,6 @@ | ||
prompt(name, options) { | ||
return this.prompter.prompt(name, options); | ||
} | ||
exit(code = 0) { | ||
@@ -264,0 +273,0 @@ if (this.config.debug) console.error(`Exiting with code: ${code}`); |
{ | ||
"name": "cli-engine-command", | ||
"description": "base CLI command for cli-engine", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"author": "Jeff Dickey @dickeyxxx", | ||
@@ -12,3 +12,3 @@ "bugs": "https://github.com/heroku/cli-engine-command/issues", | ||
"fs-extra": "3.x", | ||
"http-call": "^1.2.2", | ||
"http-call": "2.0.0", | ||
"lodash.maxby": "4.x", | ||
@@ -15,0 +15,0 @@ "lodash.merge": "4.x", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
131082
36
1910
8
+ Addedhttp-call@2.0.0(transitive)
- Removedhttp-call@1.2.2(transitive)
Updatedhttp-call@2.0.0