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

View File

@@ -125143,7 +125143,7 @@ ${output}`
await runCli(cmd, codeqlArgs);
}
},
async databaseBundle(databasePath, outputFilePath, databaseName, tryAlsoIncludeRelativePaths) {
async databaseBundle(databasePath, outputFilePath, databaseName, alsoIncludeRelativePaths) {
const args = [
"database",
"bundle",
@@ -125154,7 +125154,7 @@ ${output}`
];
if (await this.supportsFeature("bundleSupportsIncludeOption" /* BundleSupportsIncludeOption */)) {
args.push(
...tryAlsoIncludeRelativePaths.flatMap((relativePath) => [
...alsoIncludeRelativePaths.flatMap((relativePath) => [
"--include",
relativePath
])

4
lib/analyze-action.js generated
View File

@@ -93240,7 +93240,7 @@ ${output}`
await runCli(cmd, codeqlArgs);
}
},
async databaseBundle(databasePath, outputFilePath, databaseName, tryAlsoIncludeRelativePaths) {
async databaseBundle(databasePath, outputFilePath, databaseName, alsoIncludeRelativePaths) {
const args = [
"database",
"bundle",
@@ -93251,7 +93251,7 @@ ${output}`
];
if (await this.supportsFeature("bundleSupportsIncludeOption" /* BundleSupportsIncludeOption */)) {
args.push(
...tryAlsoIncludeRelativePaths.flatMap((relativePath) => [
...alsoIncludeRelativePaths.flatMap((relativePath) => [
"--include",
relativePath
])

View File

@@ -88344,7 +88344,7 @@ ${output}`
await runCli(cmd, codeqlArgs);
}
},
async databaseBundle(databasePath, outputFilePath, databaseName, tryAlsoIncludeRelativePaths) {
async databaseBundle(databasePath, outputFilePath, databaseName, alsoIncludeRelativePaths) {
const args = [
"database",
"bundle",
@@ -88355,7 +88355,7 @@ ${output}`
];
if (await this.supportsFeature("bundleSupportsIncludeOption" /* BundleSupportsIncludeOption */)) {
args.push(
...tryAlsoIncludeRelativePaths.flatMap((relativePath) => [
...alsoIncludeRelativePaths.flatMap((relativePath) => [
"--include",
relativePath
])

View File

@@ -129775,7 +129775,7 @@ ${output}`
await runCli(cmd, codeqlArgs);
}
},
async databaseBundle(databasePath, outputFilePath, databaseName, tryAlsoIncludeRelativePaths) {
async databaseBundle(databasePath, outputFilePath, databaseName, alsoIncludeRelativePaths) {
const args = [
"database",
"bundle",
@@ -129786,7 +129786,7 @@ ${output}`
];
if (await this.supportsFeature("bundleSupportsIncludeOption" /* BundleSupportsIncludeOption */)) {
args.push(
...tryAlsoIncludeRelativePaths.flatMap((relativePath) => [
...alsoIncludeRelativePaths.flatMap((relativePath) => [
"--include",
relativePath
])

4
lib/init-action.js generated
View File

@@ -91508,7 +91508,7 @@ ${output}`
await runCli(cmd, codeqlArgs);
}
},
async databaseBundle(databasePath, outputFilePath, databaseName, tryAlsoIncludeRelativePaths) {
async databaseBundle(databasePath, outputFilePath, databaseName, alsoIncludeRelativePaths) {
const args = [
"database",
"bundle",
@@ -91519,7 +91519,7 @@ ${output}`
];
if (await this.supportsFeature("bundleSupportsIncludeOption" /* BundleSupportsIncludeOption */)) {
args.push(
...tryAlsoIncludeRelativePaths.flatMap((relativePath) => [
...alsoIncludeRelativePaths.flatMap((relativePath) => [
"--include",
relativePath
])

View File

@@ -88037,7 +88037,7 @@ ${output}`
await runCli(cmd, codeqlArgs);
}
},
async databaseBundle(databasePath, outputFilePath, databaseName, tryAlsoIncludeRelativePaths) {
async databaseBundle(databasePath, outputFilePath, databaseName, alsoIncludeRelativePaths) {
const args = [
"database",
"bundle",
@@ -88048,7 +88048,7 @@ ${output}`
];
if (await this.supportsFeature("bundleSupportsIncludeOption" /* BundleSupportsIncludeOption */)) {
args.push(
...tryAlsoIncludeRelativePaths.flatMap((relativePath) => [
...alsoIncludeRelativePaths.flatMap((relativePath) => [
"--include",
relativePath
])

View File

@@ -89346,7 +89346,7 @@ ${output}`
await runCli(cmd, codeqlArgs);
}
},
async databaseBundle(databasePath, outputFilePath, databaseName, tryAlsoIncludeRelativePaths) {
async databaseBundle(databasePath, outputFilePath, databaseName, alsoIncludeRelativePaths) {
const args = [
"database",
"bundle",
@@ -89357,7 +89357,7 @@ ${output}`
];
if (await this.supportsFeature("bundleSupportsIncludeOption" /* BundleSupportsIncludeOption */)) {
args.push(
...tryAlsoIncludeRelativePaths.flatMap((relativePath) => [
...alsoIncludeRelativePaths.flatMap((relativePath) => [
"--include",
relativePath
])

4
lib/upload-lib.js generated
View File

@@ -92062,7 +92062,7 @@ ${output}`
await runCli(cmd, codeqlArgs);
}
},
async databaseBundle(databasePath, outputFilePath, databaseName, tryAlsoIncludeRelativePaths) {
async databaseBundle(databasePath, outputFilePath, databaseName, alsoIncludeRelativePaths) {
const args = [
"database",
"bundle",
@@ -92073,7 +92073,7 @@ ${output}`
];
if (await this.supportsFeature("bundleSupportsIncludeOption" /* BundleSupportsIncludeOption */)) {
args.push(
...tryAlsoIncludeRelativePaths.flatMap((relativePath) => [
...alsoIncludeRelativePaths.flatMap((relativePath) => [
"--include",
relativePath
])

View File

@@ -92586,7 +92586,7 @@ ${output}`
await runCli(cmd, codeqlArgs);
}
},
async databaseBundle(databasePath, outputFilePath, databaseName, tryAlsoIncludeRelativePaths) {
async databaseBundle(databasePath, outputFilePath, databaseName, alsoIncludeRelativePaths) {
const args = [
"database",
"bundle",
@@ -92597,7 +92597,7 @@ ${output}`
];
if (await this.supportsFeature("bundleSupportsIncludeOption" /* BundleSupportsIncludeOption */)) {
args.push(
...tryAlsoIncludeRelativePaths.flatMap((relativePath) => [
...alsoIncludeRelativePaths.flatMap((relativePath) => [
"--include",
relativePath
])

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,
]),