Add user error for "Pack cannot be found"
This commit is contained in:
parent
4b812a5dff
commit
ec1179000d
3 changed files with 15 additions and 1 deletions
|
|
@ -132,6 +132,7 @@ export enum CliConfigErrorCategory {
|
|||
NoSourceCodeSeen = "NoSourceCodeSeen",
|
||||
NoSupportedBuildCommandSucceeded = "NoSupportedBuildCommandSucceeded",
|
||||
NoSupportedBuildSystemDetected = "NoSupportedBuildSystemDetected",
|
||||
PackCannotBeFound = "PackCannotBeFound",
|
||||
SwiftBuildFailed = "SwiftBuildFailed",
|
||||
UnsupportedBuildMode = "UnsupportedBuildMode",
|
||||
}
|
||||
|
|
@ -220,6 +221,13 @@ export const cliErrorsConfig: Record<
|
|||
new RegExp("No supported build system detected"),
|
||||
],
|
||||
},
|
||||
[CliConfigErrorCategory.PackCannotBeFound]: {
|
||||
cliErrorMessageCandidates: [
|
||||
new RegExp(
|
||||
"Query pack .* cannot be found\\. Check the spelling of the pack\\.",
|
||||
),
|
||||
],
|
||||
},
|
||||
[CliConfigErrorCategory.SwiftBuildFailed]: {
|
||||
cliErrorMessageCandidates: [
|
||||
new RegExp(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue