@oclif/plugin-update
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -0,1 +1,9 @@ | ||
<a name="1.2.1"></a> | ||
## [1.2.1](https://github.com/oclif/plugin-update/compare/v1.2.0...v1.2.1) (2018-05-04) | ||
### Bug Fixes | ||
* check UPDATE_INSTRUCTIONS env var ([459e9f2](https://github.com/oclif/plugin-update/commit/459e9f2)) | ||
<a name="1.2.0"></a> | ||
@@ -2,0 +10,0 @@ # [1.2.0](https://github.com/oclif/plugin-update/compare/v1.1.21...v1.2.0) (2018-05-04) |
@@ -84,3 +84,3 @@ "use strict"; | ||
if (!this.config.binPath) | ||
return 'not updatable'; | ||
return this.config.scopedEnvVar('UPDATE_INSTRUCTIONS') || 'not updatable'; | ||
if (this.autoupdate && this.config.scopedEnvVar('DISABLE_AUTOUPDATE') === '1') | ||
@@ -87,0 +87,0 @@ return 'autoupdates disabled'; |
@@ -1,1 +0,1 @@ | ||
{"version":"1.2.0","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.2.1","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"}]}}} |
{ | ||
"name": "@oclif/plugin-update", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -24,3 +24,3 @@ "bugs": "https://github.com/oclif/plugin-update/issues", | ||
"devDependencies": { | ||
"@oclif/dev-cli": "^1.13.15", | ||
"@oclif/dev-cli": "^1.13.16", | ||
"@oclif/plugin-help": "^1.2.10", | ||
@@ -27,0 +27,0 @@ "@oclif/test": "^1.0.6", |
@@ -24,3 +24,3 @@ @oclif/plugin-update | ||
$ oclif-example (-v|--version|version) | ||
@oclif/plugin-update/1.2.0 linux-x64 node-v8.11.1 | ||
@oclif/plugin-update/1.2.1 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.2.0/src/commands/update.ts)_ | ||
_See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v1.2.1/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
29462