Add configuration error for unsupported build mode
This commit is contained in:
parent
fa75c144b4
commit
55585360a3
3 changed files with 15 additions and 1 deletions
|
|
@ -132,6 +132,7 @@ export enum CliConfigErrorCategory {
|
|||
NoSupportedBuildCommandSucceeded = "NoSupportedBuildCommandSucceeded",
|
||||
NoSupportedBuildSystemDetected = "NoSupportedBuildSystemDetected",
|
||||
SwiftBuildFailed = "SwiftBuildFailed",
|
||||
UnsupportedBuildMode = "UnsupportedBuildMode",
|
||||
}
|
||||
|
||||
type CliErrorConfiguration = {
|
||||
|
|
@ -220,6 +221,13 @@ export const cliErrorsConfig: Record<
|
|||
),
|
||||
],
|
||||
},
|
||||
[CliConfigErrorCategory.UnsupportedBuildMode]: {
|
||||
cliErrorMessageCandidates: [
|
||||
new RegExp(
|
||||
"does not support the .* build mode. Please try using one of the following build modes instead",
|
||||
),
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue