From 5c41cebf2f2f7b0091fb2252e9016baf1cb59a23 Mon Sep 17 00:00:00 2001 From: Marcus Bitzl Date: Fri, 14 Aug 2020 14:05:53 +0200 Subject: [PATCH] Add timeout for loading Codecov bash script --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 7cf9797..c3fd6c3 100644 --- a/index.js +++ b/index.js @@ -30,7 +30,8 @@ try { request({ url: "https://codecov.io/bash", - json: false + json: false, + timeout: 30000, }, (error, response, body) => { try { if (error && fail_ci) {