mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 20:47:26 +00:00
Add timeout for loading Codecov bash script
This commit is contained in:
parent
fadbb25281
commit
5c41cebf2f
1 changed files with 2 additions and 1 deletions
3
index.js
3
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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue