You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Buildsystem] Break after purging cache
This commit is contained in:
@@ -847,8 +847,9 @@ def clean_cache(cache_path: str, cache_limit: int, verbose: bool) -> None:
|
||||
except OSError:
|
||||
print_error(f'Failed to remove cache file "{file}"; skipping.')
|
||||
count -= 1
|
||||
if verbose:
|
||||
if verbose and count:
|
||||
print_info(f"Purged {count} file{'s' if count else ''} from cache.")
|
||||
break
|
||||
|
||||
|
||||
def prepare_cache(env) -> None:
|
||||
|
||||
Reference in New Issue
Block a user