Treat missing pack errors as configuration errors

This commit is contained in:
Michael B. Gale
2025-08-06 12:09:30 +01:00
parent 60bf7dfc0e
commit c87fc48ec5
3 changed files with 13 additions and 1 deletions

View File

@@ -133,6 +133,7 @@ export enum CliConfigErrorCategory {
NoSourceCodeSeen = "NoSourceCodeSeen",
NoSupportedBuildCommandSucceeded = "NoSupportedBuildCommandSucceeded",
NoSupportedBuildSystemDetected = "NoSupportedBuildSystemDetected",
NotFoundInRegistry = "NotFoundInRegistry",
OutOfMemoryOrDisk = "OutOfMemoryOrDisk",
PackCannotBeFound = "PackCannotBeFound",
PackMissingAuth = "PackMissingAuth",
@@ -280,6 +281,11 @@ export const cliErrorsConfig: Record<
),
],
},
[CliConfigErrorCategory.NotFoundInRegistry]: {
cliErrorMessageCandidates: [
new RegExp("'.*' not found in the registry '.*'"),
],
},
};
/**