From b360ab3b73ad1038a5bf15ac9fe385d8e772a691 Mon Sep 17 00:00:00 2001 From: actions-bot <58130806+actions-bot@users.noreply.github.com> Date: Sun, 5 Feb 2023 23:23:33 +0900 Subject: [PATCH] build: update distribution (#115) --- dist/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 93b3b6f..a097b95 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3541,7 +3541,9 @@ function fetch(url, opts) { return; } - destroyStream(response.body, err); + if (response && response.body) { + destroyStream(response.body, err); + } }); /* c8 ignore next 18 */