Skip to content

Commit cecb471

Browse files
authored
Merge branch 'main' into typo-change-an-to-a
2 parents a477602 + 1f86f55 commit cecb471

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

lib/cli-errors.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/cli-errors.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cli-errors.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ export enum CliConfigErrorCategory {
124124
IncompatibleWithActionVersion = "IncompatibleWithActionVersion",
125125
InitCalledTwice = "InitCalledTwice",
126126
InvalidConfigFile = "InvalidConfigFile",
127+
InvalidExternalRepoSpecifier = "InvalidExternalRepoSpecifier",
127128
InvalidSourceRoot = "InvalidSourceRoot",
128129
MavenBuildFailed = "MavenBuildFailed",
129130
NoBuildCommandAutodetected = "NoBuildCommandAutodetected",
@@ -188,6 +189,11 @@ export const cliErrorsConfig: Record<
188189
new RegExp("The supplied config file is empty"),
189190
],
190191
},
192+
[CliConfigErrorCategory.InvalidExternalRepoSpecifier]: {
193+
cliErrorMessageCandidates: [
194+
new RegExp("Specifier for external repository is invalid"),
195+
],
196+
},
191197
// Expected source location for database creation does not exist
192198
[CliConfigErrorCategory.InvalidSourceRoot]: {
193199
cliErrorMessageCandidates: [new RegExp("Invalid source root")],

0 commit comments

Comments
 (0)