From bc71fbb8152ca82533a1738b9fc306bdb23e2267 Mon Sep 17 00:00:00 2001 From: "otoneko." <116952822+otnc@users.noreply.github.com> Date: Mon, 21 Sep 2026 23:52:44 +0900 Subject: [PATCH] fix: fail loudly and retry when downloading the express suite tarball --- test/express-suite/fetch-suite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/express-suite/fetch-suite.js b/test/express-suite/fetch-suite.js index da8831f..4cf04b9 100644 --- a/test/express-suite/fetch-suite.js +++ b/test/express-suite/fetch-suite.js @@ -41,7 +41,7 @@ function download(version) { const url = `https://github.com/expressjs/express/archive/refs/tags/v${tag}.tar.gz` const tarball = `v${tag}.tar.gz` // Run inside vendorRoot with relative paths: tar on Windows reads 'D:\...' as a host - execFileSync('curl', ['-sL', url, '-o', tarball], { cwd: vendorRoot, stdio: 'inherit' }) + execFileSync('curl', ['-fsSL', '--retry', '3', '--retry-all-errors', url, '-o', tarball], { cwd: vendorRoot, stdio: 'inherit' }) execFileSync('tar', ['xzf', tarball], { cwd: vendorRoot, stdio: 'inherit' }) return dest }