From e13a223f185a5739aef51dbee78f6c5baf3560ac Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Fri, 21 Jun 2019 07:59:25 +0200
Subject: [PATCH] =?UTF-8?q?fix(got):=20don=E2=80=99t=20cache=20streams?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/util/got/cache-get.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/util/got/cache-get.js b/lib/util/got/cache-get.js
index 4545311410..51d160054e 100644
--- a/lib/util/got/cache-get.js
+++ b/lib/util/got/cache-get.js
@@ -16,6 +16,9 @@ module.exports = got.create({
     if (options.useCache === false) {
       return next(options);
     }
+    if (options.stream) {
+      return next(options);
+    }
     if (options.method === 'GET') {
       const cacheKey = crypto
         .createHash('md5')
-- 
GitLab