mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 02:01:27 +00:00
DotCom => Dotcom
This commit is contained in:
4
lib/entry-points.js
generated
4
lib/entry-points.js
generated
@@ -175689,7 +175689,7 @@ var DEFAULT_DOWNLOAD_SOURCE = [
|
||||
var isSameDownloadSource = ([srcUrl, srcRepo], [otherUrl, otherRepo]) => {
|
||||
return srcUrl === otherUrl && srcRepo === otherRepo;
|
||||
};
|
||||
function getDefaultDotComDownloadURL(tagName, assetName) {
|
||||
function getDefaultDotcomDownloadURL(tagName, assetName) {
|
||||
return `${GITHUB_DOTCOM_URL}/${CODEQL_DEFAULT_ACTION_REPOSITORY}/releases/download/${tagName}/${assetName}`;
|
||||
}
|
||||
async function getCodeQLAssetDownloadURL(action, apiDetails, tagName, assetName, assetKind = "CodeQL bundle") {
|
||||
@@ -175732,7 +175732,7 @@ async function getCodeQLAssetDownloadURL(action, apiDetails, tagName, assetName,
|
||||
);
|
||||
}
|
||||
}
|
||||
return getDefaultDotComDownloadURL(tagName, assetName);
|
||||
return getDefaultDotcomDownloadURL(tagName, assetName);
|
||||
}
|
||||
|
||||
// src/tar.ts
|
||||
|
||||
@@ -63,7 +63,7 @@ const isSameDownloadSource = (
|
||||
export type DownloadURL = string;
|
||||
|
||||
/** Gets the default GitHub.com download URL for `assetName` in a release tagged `tagName`. */
|
||||
export function getDefaultDotComDownloadURL(
|
||||
export function getDefaultDotcomDownloadURL(
|
||||
tagName: string,
|
||||
assetName: string,
|
||||
): DownloadURL {
|
||||
@@ -147,5 +147,5 @@ export async function getCodeQLAssetDownloadURL(
|
||||
}
|
||||
}
|
||||
|
||||
return getDefaultDotComDownloadURL(tagName, assetName);
|
||||
return getDefaultDotcomDownloadURL(tagName, assetName);
|
||||
}
|
||||
|
||||
@@ -780,7 +780,7 @@ test.serial(
|
||||
t.is(info.version, defaults.cliVersion);
|
||||
t.is(
|
||||
info.url,
|
||||
repository.getDefaultDotComDownloadURL(
|
||||
repository.getDefaultDotcomDownloadURL(
|
||||
defaults.bundleVersion,
|
||||
startProxyExports.getProxyPackage(BundlePlatform.Linux64),
|
||||
),
|
||||
@@ -810,7 +810,7 @@ test.serial(
|
||||
t.is(info.version, defaults.cliVersion);
|
||||
t.is(
|
||||
info.url,
|
||||
repository.getDefaultDotComDownloadURL(
|
||||
repository.getDefaultDotcomDownloadURL(
|
||||
defaults.bundleVersion,
|
||||
startProxyExports.getProxyPackage(getTestPlatform(state)),
|
||||
),
|
||||
@@ -842,7 +842,7 @@ test.serial(
|
||||
t.is(info.version, defaults.cliVersion);
|
||||
t.is(
|
||||
info.url,
|
||||
repository.getDefaultDotComDownloadURL(
|
||||
repository.getDefaultDotcomDownloadURL(
|
||||
defaults.bundleVersion,
|
||||
startProxyExports.getProxyPackage(getTestPlatform(state)),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user