Skip to content

Commit

Permalink
fix: add baseDir templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 9, 2018
1 parent fa584ef commit f354979
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f354979

Please sign in to comment.