about summary refs log tree commit diff stats
path: root/internal/fetcher/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/fetcher/http.go')
-rw-r--r--internal/fetcher/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fetcher/http.go b/internal/fetcher/http.go
index ba99c3a..b0768ab 100644
--- a/internal/fetcher/http.go
+++ b/internal/fetcher/http.go
@@ -94,5 +94,5 @@ func fetchFileIfNeeded(
 		err = errors.Errorf("got response code %d, don't know what to do", res.StatusCode)
 	}
 
-	return body, newMtime, err
+	return NewReadCloser(body), newMtime, err
 }