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

Commit afddb87

Browse files
committed
fix: argv fixed
1 parent 89dd64c commit afddb87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/command.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export default abstract class Command {
5656
return convertToCached(this, opts)
5757
}
5858

59+
argv: string[]
5960
flags: flags.Output
6061
args: args.Output
6162

@@ -70,7 +71,7 @@ export default abstract class Command {
7071

7172
protected debug: (...args: any[]) => void
7273

73-
constructor(public argv: string[], public config: Config.IConfig) {
74+
constructor(argv: string[], public config: Config.IConfig) {
7475
g['http-call'] = g['http-call'] || {}
7576
g['http-call']!.userAgent = config.userAgent
7677
this.debug = require('debug')(this.ctor.id ? `${config.bin}:${this.ctor.id}` : config.bin)

0 commit comments

Comments
 (0)