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
$ sv check --tsconfig ./tsconfig.json
> error: too many arguments for'check'. Expected 0 arguments but got 2.
This happens when upgrading from 0.6.11 to 0.6.12. Iooked at the changes between these versions and there's no changes to the code, but there commander's major version was bumped from 12 to 13, which is what's causing this issue. In the code used for the check command this is no longer enough:
This causes any unknown options (i.e. arguments that start with a dash) to be treated as arguments instead. However because of breaking changes in commander:
Breaking: excess command-arguments cause an error by default, see migration tips (tj/commander.js#2223)
trying to pass any arguments/options results in errors.
The text was updated successfully, but these errors were encountered:
This happens when upgrading from 0.6.11 to 0.6.12. Iooked at the changes between these versions and there's no changes to the code, but there
commander
's major version was bumped from 12 to 13, which is what's causing this issue. In the code used for thecheck
command this is no longer enough:cli/packages/cli/commands/check.ts
Line 13 in 43f73a2
This causes any unknown options (i.e. arguments that start with a dash) to be treated as arguments instead. However because of breaking changes in
commander
:trying to pass any arguments/options results in errors.
The text was updated successfully, but these errors were encountered: