Use DownloadSource for potentialDownloadSources

This commit is contained in:
Michael B. Gale
2026-10-12 15:29:50 +01:00
parent 2425045e40
commit 39358b5a0d

View File

@@ -88,7 +88,7 @@ export async function getCodeQLAssetDownloadURL(
): Promise<DownloadURL> {
const codeQLActionRepository = getCodeQLActionRepository(action);
const potentialDownloadSources: Array<[string, RepositoryNwoStr]> = [
const potentialDownloadSources: DownloadSource[] = [
// This GitHub instance, and this Action.
[apiDetails.url, codeQLActionRepository],
// This GitHub instance, and the canonical Action.