Skip to content

Commit 5ac0476

Browse files
committed
Rename argument
1 parent 75716ab commit 5ac0476

10 files changed

+23
-22
lines changed

lib/analyze-action-post.js

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

lib/analyze-action.js

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

lib/autobuild-action.js

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

lib/init-action-post.js

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

lib/init-action.js

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

lib/resolve-environment-action.js

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

lib/setup-codeql-action.js

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

lib/upload-lib.js

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

lib/upload-sarif-action.js

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

src/codeql.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ export interface CodeQL {
148148
/**
149149
* Run 'codeql database bundle'.
150150
*
151-
* @param tryAlsoIncludeRelativePaths Additional paths that should be included in the bundle if possible.
151+
* @param alsoIncludeRelativePaths Additional paths that should be included in the bundle if
152+
* supported by the version of the CodeQL CLI.
152153
*
153154
* These paths are relative to the database root.
154155
*
@@ -159,7 +160,7 @@ export interface CodeQL {
159160
databasePath: string,
160161
outputFilePath: string,
161162
dbName: string,
162-
tryAlsoIncludeRelativePaths: string[],
163+
alsoIncludeRelativePaths: string[],
163164
): Promise<void>;
164165
/**
165166
* Run 'codeql database run-queries'. If no `queries` are specified, then the CLI
@@ -919,7 +920,7 @@ async function getCodeQLForCmd(
919920
databasePath: string,
920921
outputFilePath: string,
921922
databaseName: string,
922-
tryAlsoIncludeRelativePaths: string[],
923+
alsoIncludeRelativePaths: string[],
923924
): Promise<void> {
924925
const args = [
925926
"database",
@@ -933,7 +934,7 @@ async function getCodeQLForCmd(
933934
await this.supportsFeature(ToolsFeature.BundleSupportsIncludeOption)
934935
) {
935936
args.push(
936-
...tryAlsoIncludeRelativePaths.flatMap((relativePath) => [
937+
...alsoIncludeRelativePaths.flatMap((relativePath) => [
937938
"--include",
938939
relativePath,
939940
]),

0 commit comments

Comments
 (0)