mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-11 09:05:58 -05:00
Fix minor issue: `cache-prune` logs `jq: error: writing output failed: Broken pipe` when it has nothing to delete, because the loop stops reading as soon as it is under the limit while `jq` still has output pending. Reading from a here-string removes the pipe. --------- Signed-off-by: silverwind <me@silverwind.io>