fix snaps filename selection

This commit is contained in:
yggverse 2024-03-28 21:42:37 +02:00
parent f25de548b2
commit 22156d230d
3 changed files with 4 additions and 4 deletions

View file

@ -125,7 +125,7 @@ foreach ($config->cli->document->crawl->skip->stripos->url as $condition)
{
foreach ((array) scandir($location) as $filename)
{
if (is_dir($filename) || is_link($filename) || str_starts_with($filename, '.') || !str_ends_with($filename, '.tar.gz'))
if (!str_ends_with($filename, '.tar.gz'))
{
continue;
}