Add filelist downloader debug message

This commit is contained in:
crazywhalecc 2026-02-03 10:05:11 +08:00
parent 3492992b56
commit fddcdb8796
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -20,6 +20,7 @@ class FileList implements DownloadTypeInterface
throw new DownloaderException("Failed to get {$name} file list from {$config['url']}");
}
$versions = [];
logger()->debug('Matched ' . count($matches['version']) . " versions for {$name}");
foreach ($matches['version'] as $i => $version) {
$lower = strtolower($version);
foreach (['alpha', 'beta', 'rc', 'pre', 'nightly', 'snapshot', 'dev'] as $beta) {