From b9dc50c47c698f00e5b69c110db93621d1125058 Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Fri, 17 Dec 2021 11:59:36 -0700 Subject: [PATCH] Download all files we may need in the future --- Wabbajack.CLI/Verbs/ValidateLists.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Wabbajack.CLI/Verbs/ValidateLists.cs b/Wabbajack.CLI/Verbs/ValidateLists.cs index 3d66e86a..6ced9674 100644 --- a/Wabbajack.CLI/Verbs/ValidateLists.cs +++ b/Wabbajack.CLI/Verbs/ValidateLists.cs @@ -540,13 +540,7 @@ public class ValidateLists : IVerb if (archive.State is Http http && http.Url.Host.EndsWith("github.com")) return (ArchiveStatus.Valid, archive); - bool ShouldDownload() - { - var downloader = _dispatcher.Downloader(archive); - return downloader is IUrlDownloader && _dispatcher.Matches(archive, mirrorAllowList); - } - - if (ShouldDownload() && !archiveManager.HaveArchive(archive.Hash) && archive.State is not Nexus or WabbajackCDN) + if (!archiveManager.HaveArchive(archive.Hash) && archive.State is not Nexus or WabbajackCDN) { _logger.LogInformation("Downloading {name} {hash}", archive.Name, archive.Hash);