From 03e16ffa576ad623eedb2a850d1cb975de9f42a1 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Thu, 10 Jan 2019 10:58:23 -0800 Subject: [PATCH] chore: s/size/length (#16351) --- script/release.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/release.js b/script/release.js index 7f7fe61c90..2e7be685ad 100755 --- a/script/release.js +++ b/script/release.js @@ -221,7 +221,7 @@ async function uploadShasumFile (filePath, fileName, releaseId) { url: uploadUrl, headers: { 'content-type': 'text/plain', - 'content-size': fs.statSync(filePath).size + 'content-length': fs.statSync(filePath).size }, file: fs.createReadStream(filePath), name: fileName