Skip to content

Commit

Permalink
Fix download timeout on node v20 install (#2388)
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Felis <sebastian@silef.de>
  • Loading branch information
xemle authored Aug 3, 2023
1 parent cbb087a commit 30a0c23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build/npm/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ var downloadFollowingRedirect = function(url, resolve, reject) {
https.get(url, { headers: { 'accept-encoding': 'gzip,deflate' } }, res => {
if (res.statusCode >= 300 && res.statusCode < 400) {
downloadFollowingRedirect(res.headers.location, resolve, reject);
res.resume()
} else if (res.statusCode >= 400) {
reject(new Error(`Unable to download '${url}' : ${res.statusCode}-'${res.statusMessage}'`));
res.resume()
} else {
const chunks = [];
res
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

// CurrentGaugeVersion represents the current version of Gauge
var CurrentGaugeVersion = &Version{1, 5, 3}
var CurrentGaugeVersion = &Version{1, 5, 4}

// BuildMetadata represents build information of current release (e.g, nightly build information)
var BuildMetadata = ""
Expand Down

0 comments on commit 30a0c23

Please sign in to comment.