Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: updated config
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 3, 2018
1 parent e0a8cac commit 13a6193
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lodash": "^4.17.4"
},
"devDependencies": {
"@anycli/config": "^1.0.11",
"@anycli/config": "^1.0.16",
"@anycli/plugin-help": "^0.5.0",
"@anycli/tslint": "^0.2.5",
"@types/chai": "^4.1.2",
Expand All @@ -29,7 +29,7 @@
"concurrently": "^3.5.1",
"eslint": "^4.17.0",
"eslint-config-anycli": "^1.3.2",
"fancy-test": "^0.6.9",
"fancy-test": "^0.6.10",
"http-call": "^5.0.2",
"mocha": "^5.0.0",
"nock": "^9.1.6",
Expand Down
6 changes: 3 additions & 3 deletions src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ export default abstract class Command {
/**
* instantiate and run the command
*/
static run: Config.Command.Full['run'] = async function (this: Config.Command.Full, argv = process.argv.slice(2), opts) {
let cmd = new this<Command>(argv, opts)
await cmd._run()
static run: Config.Command.Class['run'] = async function (this: Config.Command.Class, argv = process.argv.slice(2), opts) {
let cmd = new this(argv, opts)
await cmd._run(argv)
}

// we disable these so that it's clear they need to be static not instance properties
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
lodash "^4.17.4"
tslib "^1.9.0"

"@anycli/config@^1.0.11":
version "1.0.11"
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.0.11.tgz#c7cbf17c07abd1a2f68e0c1992edf5fbbf0dd87b"
"@anycli/config@^1.0.16":
version "1.0.16"
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.0.16.tgz#dc21f8487655fee9b225acfbda65cd2939f997cf"
dependencies:
cli-ux "^3.3.13"
debug "^3.1.0"
Expand Down Expand Up @@ -665,9 +665,9 @@ extract-stack@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/extract-stack/-/extract-stack-1.0.0.tgz#b97acaf9441eea2332529624b732fc5a1c8165fa"

fancy-test@^0.6.9:
version "0.6.9"
resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-0.6.9.tgz#058242ae313b80d3e720120876c79d429e6a8b02"
fancy-test@^0.6.10:
version "0.6.10"
resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-0.6.10.tgz#39001bcb117b7067c851dc58da6236a08a49e267"
dependencies:
lodash "^4.17.4"
stdout-stderr "^0.1.6"
Expand Down

0 comments on commit 13a6193

Please sign in to comment.