Skip to content

Commit a082142

Browse files
authored
Merge branch 'main' into add-period-to-sentence
2 parents c0addec + 2584941 commit a082142

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You may want to run `tsc --watch` from the command line or inside of vscode in o
2727

2828
### Checking in compiled artifacts and `node_modules`
2929

30-
Because CodeQL Action users consume the code directly from this repository, and there can be no build step during an GitHub Actions run, this repository contains all compiled artifacts and node modules. There is a PR check that will fail if any of the compiled artifacts are not up to date. Compiled artifacts are stored in the `lib/` directory. For all day-to-day development purposes, this folder can be ignored.
30+
Because CodeQL Action users consume the code directly from this repository, and there can be no build step during a GitHub Actions run, this repository contains all compiled artifacts and node modules. There is a PR check that will fail if any of the compiled artifacts are not up to date. Compiled artifacts are stored in the `lib/` directory. For all day-to-day development purposes, this folder can be ignored.
3131

3232
Only run `npm install` if you are explicitly changing the set of dependencies in `package.json`. The `node_modules` directory should be up to date when you check out, but if for some reason, there is an inconsistency use `npm ci && npm run removeNPMAbsolutePaths` to ensure the directory is in a state consistent with the `package-lock.json`. Note that due to a macOS-specific dependency, this command should be run on a macOS machine. There is a PR check to ensure the consistency of the `node_modules` directory.
3333

lib/cli-errors.js

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/cli-errors.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cli-errors.ts

+6
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)