mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-20 22:23:07 +00:00
errors: Make all exclusive flag errors expected
eg Don't report errors if during a push --release-tag and --detached flags are used. Change-type: minor Signed-off-by: Marios Balamatsias <mbalamatsias@gmail.com>
This commit is contained in:
parent
34557e35ee
commit
074fe010bd
@ -180,6 +180,7 @@ const messages: {
|
||||
// related issue https://github.com/balena-io/balena-sdk/issues/1025
|
||||
// related issue https://github.com/balena-io/balena-cli/issues/2126
|
||||
const EXPECTED_ERROR_REGEXES = [
|
||||
/cannot also be provided when using/, // Exclusive flag errors are all expected
|
||||
/^BalenaSettingsPermissionError/, // balena-settings-storage
|
||||
/^BalenaAmbiguousApplication/, // balena-sdk
|
||||
/^BalenaAmbiguousDevice/, // balena-sdk
|
||||
|
Loading…
Reference in New Issue
Block a user