@oclif/plugin-update
Advanced tools
Comparing version 1.1.10 to 1.1.11
@@ -1,1 +0,1 @@ | ||
{"version":"1.1.10","commands":{"update":{"id":"update","description":"update the <%= config.bin %> CLI","pluginName":"@oclif/plugin-update","pluginType":"core","aliases":[],"flags":{"autoupdate":{"name":"autoupdate","type":"boolean","hidden":true}},"args":[{"name":"channel"}]}}} | ||
{"version":"1.1.11","commands":{"update":{"id":"update","description":"update the <%= config.bin %> CLI","pluginName":"@oclif/plugin-update","pluginType":"core","aliases":[],"flags":{"autoupdate":{"name":"autoupdate","type":"boolean","hidden":true}},"args":[{"name":"channel"}]}}} |
@@ -0,1 +1,10 @@ | ||
<a name="1.1.11"></a> | ||
## [1.1.11](https://github.com/oclif/plugin-update/compare/v1.1.10...v1.1.11) (2018-04-19) | ||
### Bug Fixes | ||
* pause/resume stream ([b937c61](https://github.com/oclif/plugin-update/commit/b937c61)) | ||
* synchronously check for path exists ([357ea6f](https://github.com/oclif/plugin-update/commit/357ea6f)) | ||
<a name="1.1.10"></a> | ||
@@ -2,0 +11,0 @@ ## [1.1.10](https://github.com/oclif/plugin-update/compare/v1.1.9...v1.1.10) (2018-04-19) |
@@ -61,2 +61,3 @@ "use strict"; | ||
const { response: stream } = await http.stream(manifest.gz); | ||
stream.pause(); | ||
let extraction = tar_1.extract(stream, manifest.baseDir, output, manifest.sha256gz); | ||
@@ -76,2 +77,3 @@ // TODO: use cli.action.type | ||
} | ||
stream.resume(); | ||
await extraction; | ||
@@ -78,0 +80,0 @@ await this.createBin(version); |
@@ -10,3 +10,3 @@ "use strict"; | ||
let tmp = getTmp(); | ||
if (await fs.pathExists(tmp)) | ||
if (fs.pathExistsSync(tmp)) | ||
tmp = getTmp(); | ||
@@ -13,0 +13,0 @@ debug(`extracting to ${tmp}`); |
{ | ||
"name": "@oclif/plugin-update", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -5,0 +5,0 @@ "bugs": "https://github.com/oclif/plugin-update/issues", |
@@ -24,3 +24,3 @@ @oclif/plugin-update | ||
$ oclif-example (-v|--version|version) | ||
@oclif/plugin-update/1.1.10 linux-x64 node-v8.11.1 | ||
@oclif/plugin-update/1.1.11 linux-x64 node-v8.11.1 | ||
$ oclif-example --help [COMMAND] | ||
@@ -45,3 +45,3 @@ USAGE | ||
_See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v1.1.10/src/commands/update.ts)_ | ||
_See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v1.1.11/src/commands/update.ts)_ | ||
<!-- commandsstop --> |
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
25904
449