Skip to content

Commit ead1f7d

Browse files
henrymercerCopilot
andcommitted
Rename the platform module
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 549d498 commit ead1f7d

7 files changed

Lines changed: 21 additions & 19 deletions

File tree

‎lib/entry-points.js‎

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

‎src/per-language-bundles.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import test from "ava";
22

3-
import { BundlePlatform } from "./bundle-platform";
43
import { ActionsEnvVars } from "./environment";
54
import { Feature } from "./feature-flags";
65
import { BuiltInLanguage } from "./languages";
@@ -9,6 +8,7 @@ import {
98
MIN_PER_LANGUAGE_BUNDLE_CLI_VERSION,
109
PerLanguageBundleOptions,
1110
} from "./per-language-bundles";
11+
import { BundlePlatform } from "./platform";
1212
import {
1313
createFeatures,
1414
getRecordingLogger,

‎src/per-language-bundles.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import * as semver from "semver";
22

33
import { ActionState } from "./action-common";
44
import { isGitHubHostedRunner } from "./actions-util";
5-
import { BundlePlatform } from "./bundle-platform";
65
import { Feature } from "./feature-flags";
76
import { BuiltInLanguage, parseBuiltInLanguage } from "./languages";
7+
import { BundlePlatform } from "./platform";
88
import * as tar from "./tar";
99
import { GitHubVariant } from "./util";
1010

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import test from "ava";
22

3-
import { BundlePlatform, getBundlePlatform } from "./bundle-platform";
3+
import { BundlePlatform, getBundlePlatform } from "./platform";
44

55
for (const [platform, arch, expected] of [
66
["linux", "x64", BundlePlatform.Linux64],
File renamed without changes.

‎src/setup-codeql.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
isRunningLocalAction,
1818
} from "./actions-util";
1919
import * as api from "./api-client";
20-
import { getBundlePlatform } from "./bundle-platform";
2120
import { CodeQLBundle, getCodeQLBundleFromUrl } from "./codeql-bundle";
2221
import * as defaults from "./defaults.json";
2322
import {
@@ -37,6 +36,7 @@ import { BuiltInLanguage } from "./languages";
3736
import { Logger } from "./logging";
3837
import { getCodeQlVersionsForOverlayBaseDatabases } from "./overlay/caching";
3938
import { getPerLanguageBundleLanguage } from "./per-language-bundles";
39+
import { getBundlePlatform } from "./platform";
4040
import * as tar from "./tar";
4141
import {
4242
deleteToolcacheBundles,

‎src/testing-utils.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import { ActionsEnv, getActionVersion } from "./actions-util";
1717
import { AnalysisKind } from "./analyses";
1818
import * as apiClient from "./api-client";
1919
import { GitHubApiDetails } from "./api-client";
20-
import { getBundlePlatform } from "./bundle-platform";
2120
import { CachingKind } from "./caching-utils";
2221
import { resetCachedCodeQlVersion } from "./cli/output-cache";
2322
import type { VersionInfo } from "./cli/types";
@@ -33,6 +32,7 @@ import {
3332
} from "./feature-flags";
3433
import { Logger } from "./logging";
3534
import { OverlayDatabaseMode } from "./overlay/overlay-database-mode";
35+
import { getBundlePlatform } from "./platform";
3636
import { ActionName } from "./status-report";
3737
import {
3838
DEFAULT_DEBUG_ARTIFACT_NAME,

0 commit comments

Comments
 (0)