You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried create simple command that uses only arguments (like a file path).
But if do not assignment flag property for makeCommand function 2nd arguments, get an Error: TypeError: t2 is not a function
I did investigation for this.
makeCommand option of flag is Partial type intype CommandSpec.
I tried create simple command that uses only arguments (like a file path).
But if do not assignment
flag
property formakeCommand
function 2nd arguments, get an Error:TypeError: t2 is not a function
I did investigation for this.
makeCommand
option offlag
is Partial type intype CommandSpec
.catacli/src/command.ts
Lines 5 to 26 in 14d54bd
But inside of
makeCommand
function,spec.flag
is calling as a function.catacli/src/command.ts
Lines 45 to 54 in 14d54bd
In short, if do not assignment
flag
property,spec.flag
is undefined but called as as function.then get an Error:
TypeError: t2 is not a function
.that is correct?
and if correct this, may i try create a pull request?
The text was updated successfully, but these errors were encountered: