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
.terminalWidth() is a method on a yargs instance. It is a bit subtle, but the trick is to make the instance separately from configuring it so that you can call the method.
Description
When using
terminalWidth
as shown in the docs and invoking it as a function, I get the following error:This error is thrown and my application can not run. If I instead call
.wrap(yargs.terminalWidth)
, the application runs as expected.Full command
The text was updated successfully, but these errors were encountered: