style: satisfy wsl_v5 blank-line-before-defer rule

Insert the blank line wsl_v5 requires above four defer statements
whose deferred closure does not share a variable with the immediately
preceding line, across internal/handlers, internal/httpfetcher, and
internal/imgcache. No behavior change.
This commit is contained in:
2026-08-09 00:37:11 +00:00
parent ce06170604
commit 08c4861cfc
4 changed files with 4 additions and 0 deletions

View File

@@ -198,6 +198,7 @@ func (f *HTTPFetcher) Fetch(ctx context.Context, url string) (*FetchResult, erro
// If we fail before returning a result, release the slot
success := false
defer func() {
if !success {
<-sem