mirror of
https://github.com/YGGverse/Yo.git
synced 2026-03-31 17:55:35 +00:00
fix snaps filename selection
This commit is contained in:
parent
f25de548b2
commit
22156d230d
3 changed files with 4 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ function getLastSnapTime(array $files): int
|
|||
|
||||
foreach ($files as $file)
|
||||
{
|
||||
if (is_dir($file) || is_link($file) || str_starts_with($file, '.'))
|
||||
if (!str_ends_with($filename, '.tar.gz'))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue