Add timeout for loading Codecov bash script

This commit is contained in:
Marcus Bitzl 2020-08-14 14:05:53 +02:00
parent fadbb25281
commit 5c41cebf2f

View file

@ -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) {