Skip to content

Commit 509c25e

Browse files
committed
Fix a couple of naming nits
1 parent 95ff3ed commit 509c25e

6 files changed

Lines changed: 14 additions & 14 deletions

File tree

lib/analyze.js

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

lib/analyze.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.

lib/codeql.js

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

lib/codeql.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/analyze.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export async function runQueries(
235235

236236
try {
237237
if (await util.useCodeScanningConfigInCli(codeql, featureEnablement)) {
238-
// If we are using the codescanning config in the CLI,
238+
// If we are using the code scanning config in the CLI,
239239
// much of the work needed to generate the query suites
240240
// is done in the CLI. We just need to make a single
241241
// call to run all the queries for each language and

src/codeql.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ async function getCodeQLForCmd(
821821
extraArgs.push(`--trace-process-name=${processName}`);
822822
} else {
823823
// We default to 3 if no other arguments are provided since this was the default
824-
// behaviour of the Runner. Note this path never happens in the CodeQL Action
824+
// behavior of the Runner. Note this path never happens in the CodeQL Action
825825
// because that always passes in a process name.
826826
extraArgs.push(`--trace-process-level=${processLevel || 3}`);
827827
}
@@ -849,7 +849,7 @@ async function getCodeQLForCmd(
849849
}
850850
}
851851

852-
const configLocation = await generateCodescanningConfig(
852+
const configLocation = await generateCodeScanningConfig(
853853
codeql,
854854
config,
855855
featureEnablement
@@ -1186,8 +1186,8 @@ async function getCodeQLForCmd(
11861186
await new toolrunner.ToolRunner(cmd, args).exec();
11871187
},
11881188
};
1189-
// To ensure that status reports include the CodeQL CLI version whereever
1190-
// possbile, we want to call getVersion(), which populates the version value
1189+
// To ensure that status reports include the CodeQL CLI version wherever
1190+
// possible, we want to call getVersion(), which populates the version value
11911191
// used by status reporting, at the earliest opportunity. But invoking
11921192
// getVersion() directly here breaks tests that only pretend to create a
11931193
// CodeQL object. So instead we rely on the assumption that all non-test
@@ -1303,7 +1303,7 @@ async function runTool(cmd: string, args: string[] = []) {
13031303
* @param config The configuration to use.
13041304
* @returns the path to the generated user configuration file.
13051305
*/
1306-
async function generateCodescanningConfig(
1306+
async function generateCodeScanningConfig(
13071307
codeql: CodeQL,
13081308
config: Config,
13091309
featureEnablement: FeatureEnablement

0 commit comments

Comments
 (0)