From 2ee59cc82c18607e9bc366accee58ec7f4ae532d Mon Sep 17 00:00:00 2001 From: Electron Bot Date: Thu, 10 Jan 2019 11:04:31 -0800 Subject: [PATCH] Revert "chore: s/size/length (#16351)" This reverts commit 03e16ffa576ad623eedb2a850d1cb975de9f42a1. --- script/release.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/release.js b/script/release.js index 2e7be685ad04..7f7fe61c903f 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-length': fs.statSync(filePath).size + 'content-size': fs.statSync(filePath).size }, file: fs.createReadStream(filePath), name: fileName