diff --git a/package.json b/package.json index f846baaa..f2d2f94c 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "dependencies": { "@heroku-cli/color": "^1.1.3", "@oclif/command": "^1.4.10", - "@oclif/config": "^1.4.9", + "@oclif/config": "^1.4.10", "@oclif/errors": "^1.0.4", "@types/semver": "^5.5.0", "cli-ux": "^3.3.28", @@ -21,7 +21,7 @@ "tar-fs": "^1.16.0" }, "devDependencies": { - "@oclif/dev-cli": "^1.9.14", + "@oclif/dev-cli": "^1.9.15", "@oclif/plugin-help": "^1.2.3", "@oclif/test": "^1.0.4", "@oclif/tslint": "^1.1.0", diff --git a/src/commands/update.ts b/src/commands/update.ts index 1bca5446..9cc055ad 100644 --- a/src/commands/update.ts +++ b/src/commands/update.ts @@ -72,7 +72,7 @@ export default class UpdateCommand extends Command { const {response: stream} = await http.stream(manifest.gz) - let extraction = extract(stream, this.config.bin, output, manifest.sha256gz) + let extraction = extract(stream, manifest.baseDir, output, manifest.sha256gz) // TODO: use cli.action.type if ((cli.action as any).frames) { diff --git a/yarn.lock b/yarn.lock index d1803898..f7ea4681 100644 --- a/yarn.lock +++ b/yarn.lock @@ -39,18 +39,18 @@ dependencies: debug "^3.1.0" -"@oclif/config@^1.4.9": - version "1.4.9" - resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.4.9.tgz#62712d1e528c082c5fa2de530da108ccbeedd51a" +"@oclif/config@^1.4.10": + version "1.4.10" + resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.4.10.tgz#79d10455378bf97b0910685659c00a7cca6e2e77" dependencies: debug "^3.1.0" -"@oclif/dev-cli@^1.9.14": - version "1.9.14" - resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.9.14.tgz#322e3eda493e64471cca1bacb902b69b8909fe86" +"@oclif/dev-cli@^1.9.15": + version "1.9.15" + resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.9.15.tgz#5527f0521b72cc2ec9a6fa65553b77f3ab529ac2" dependencies: "@oclif/command" "^1.4.10" - "@oclif/config" "^1.4.9" + "@oclif/config" "^1.4.10" "@oclif/errors" "^1.0.4" "@oclif/plugin-help" "^1.2.3" "@oclif/plugin-warn-if-update-available" "^1.3.0"