mirror of
https://github.com/github/codeql-action.git
synced 2026-04-07 04:12:18 +00:00
Rename argument
This commit is contained in:
4
lib/analyze-action-post.js
generated
4
lib/analyze-action-post.js
generated
@@ -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
4
lib/analyze-action.js
generated
@@ -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
|
||||
])
|
||||
|
||||
4
lib/autobuild-action.js
generated
4
lib/autobuild-action.js
generated
@@ -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
|
||||
])
|
||||
|
||||
4
lib/init-action-post.js
generated
4
lib/init-action-post.js
generated
@@ -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
4
lib/init-action.js
generated
@@ -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
|
||||
])
|
||||
|
||||
4
lib/resolve-environment-action.js
generated
4
lib/resolve-environment-action.js
generated
@@ -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
|
||||
])
|
||||
|
||||
4
lib/setup-codeql-action.js
generated
4
lib/setup-codeql-action.js
generated
@@ -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
4
lib/upload-lib.js
generated
@@ -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
|
||||
])
|
||||
|
||||
4
lib/upload-sarif-action.js
generated
4
lib/upload-sarif-action.js
generated
@@ -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
|
||||
])
|
||||
|
||||
@@ -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,
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user