mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
Add filelist downloader debug message
This commit is contained in:
parent
3492992b56
commit
fddcdb8796
@ -20,6 +20,7 @@ class FileList implements DownloadTypeInterface
|
|||||||
throw new DownloaderException("Failed to get {$name} file list from {$config['url']}");
|
throw new DownloaderException("Failed to get {$name} file list from {$config['url']}");
|
||||||
}
|
}
|
||||||
$versions = [];
|
$versions = [];
|
||||||
|
logger()->debug('Matched ' . count($matches['version']) . " versions for {$name}");
|
||||||
foreach ($matches['version'] as $i => $version) {
|
foreach ($matches['version'] as $i => $version) {
|
||||||
$lower = strtolower($version);
|
$lower = strtolower($version);
|
||||||
foreach (['alpha', 'beta', 'rc', 'pre', 'nightly', 'snapshot', 'dev'] as $beta) {
|
foreach (['alpha', 'beta', 'rc', 'pre', 'nightly', 'snapshot', 'dev'] as $beta) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user