mirror of
https://github.com/github/codeql-action.git
synced 2025-12-24 08:10:06 +08:00
Treat missing pack errors as configuration errors
This commit is contained in:
@@ -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 '.*'"),
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user