mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-18 21:27:51 +00:00
Improve error handling for oclif "missing required arg"
Change-type: patch
This commit is contained in:
parent
70bfe4ce8e
commit
2859d16b31
@ -140,7 +140,7 @@ const EXPECTED_ERROR_REGEXES = [
|
||||
/^BalenaDeviceNotFound/, // balena-sdk
|
||||
/^BalenaExpiredToken/, // balena-sdk
|
||||
/^Missing \w+$/, // Capitano,
|
||||
/^Missing \d required argument/, // oclif parser: RequiredArgsError, RequiredFlagError
|
||||
/^Missing \d+ required arg/, // oclif parser: RequiredArgsError, RequiredFlagError
|
||||
/^Unexpected argument/, // oclif parser: UnexpectedArgsError
|
||||
/to be one of/, // oclif parser: FlagInvalidOptionError, ArgInvalidOptionError
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user