Rename argument

This commit is contained in:
Henry Mercer
2026-01-20 13:39:43 +00:00
parent 75716abfa3
commit 5ac04769eb
10 changed files with 23 additions and 22 deletions
+5 -4
View File
@@ -148,7 +148,8 @@ export interface CodeQL {
/**
* Run 'codeql database bundle'.
*
* @param tryAlsoIncludeRelativePaths Additional paths that should be included in the bundle if possible.
* @param alsoIncludeRelativePaths Additional paths that should be included in the bundle if
* supported by the version of the CodeQL CLI.
*
* These paths are relative to the database root.
*
@@ -159,7 +160,7 @@ export interface CodeQL {
databasePath: string,
outputFilePath: string,
dbName: string,
tryAlsoIncludeRelativePaths: string[],
alsoIncludeRelativePaths: string[],
): Promise<void>;
/**
* Run 'codeql database run-queries'. If no `queries` are specified, then the CLI
@@ -919,7 +920,7 @@ async function getCodeQLForCmd(
databasePath: string,
outputFilePath: string,
databaseName: string,
tryAlsoIncludeRelativePaths: string[],
alsoIncludeRelativePaths: string[],
): Promise<void> {
const args = [
"database",
@@ -933,7 +934,7 @@ async function getCodeQLForCmd(
await this.supportsFeature(ToolsFeature.BundleSupportsIncludeOption)
) {
args.push(
...tryAlsoIncludeRelativePaths.flatMap((relativePath) => [
...alsoIncludeRelativePaths.flatMap((relativePath) => [
"--include",
relativePath,
]),