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

Commit 13a6193

Browse files
committed
fix: updated config
1 parent e0a8cac commit 13a6193

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"lodash": "^4.17.4"
1414
},
1515
"devDependencies": {
16-
"@anycli/config": "^1.0.11",
16+
"@anycli/config": "^1.0.16",
1717
"@anycli/plugin-help": "^0.5.0",
1818
"@anycli/tslint": "^0.2.5",
1919
"@types/chai": "^4.1.2",
@@ -29,7 +29,7 @@
2929
"concurrently": "^3.5.1",
3030
"eslint": "^4.17.0",
3131
"eslint-config-anycli": "^1.3.2",
32-
"fancy-test": "^0.6.9",
32+
"fancy-test": "^0.6.10",
3333
"http-call": "^5.0.2",
3434
"mocha": "^5.0.0",
3535
"nock": "^9.1.6",

src/command.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ export default abstract class Command {
2929
/**
3030
* instantiate and run the command
3131
*/
32-
static run: Config.Command.Full['run'] = async function (this: Config.Command.Full, argv = process.argv.slice(2), opts) {
33-
let cmd = new this<Command>(argv, opts)
34-
await cmd._run()
32+
static run: Config.Command.Class['run'] = async function (this: Config.Command.Class, argv = process.argv.slice(2), opts) {
33+
let cmd = new this(argv, opts)
34+
await cmd._run(argv)
3535
}
3636

3737
// we disable these so that it's clear they need to be static not instance properties

yarn.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
lodash "^4.17.4"
1313
tslib "^1.9.0"
1414

15-
"@anycli/config@^1.0.11":
16-
version "1.0.11"
17-
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.0.11.tgz#c7cbf17c07abd1a2f68e0c1992edf5fbbf0dd87b"
15+
"@anycli/config@^1.0.16":
16+
version "1.0.16"
17+
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.0.16.tgz#dc21f8487655fee9b225acfbda65cd2939f997cf"
1818
dependencies:
1919
cli-ux "^3.3.13"
2020
debug "^3.1.0"
@@ -665,9 +665,9 @@ extract-stack@^1.0.0:
665665
version "1.0.0"
666666
resolved "https://registry.yarnpkg.com/extract-stack/-/extract-stack-1.0.0.tgz#b97acaf9441eea2332529624b732fc5a1c8165fa"
667667

668-
fancy-test@^0.6.9:
669-
version "0.6.9"
670-
resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-0.6.9.tgz#058242ae313b80d3e720120876c79d429e6a8b02"
668+
fancy-test@^0.6.10:
669+
version "0.6.10"
670+
resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-0.6.10.tgz#39001bcb117b7067c851dc58da6236a08a49e267"
671671
dependencies:
672672
lodash "^4.17.4"
673673
stdout-stderr "^0.1.6"

0 commit comments

Comments
 (0)