Use DownloadSource for potentialDownloadSources

This commit is contained in:
Michael B. Gale
2026-10-12 15:29:50 +01:00
parent e93db40cce
commit fdc069b4ec

View File

@@ -99,7 +99,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.