Revert "chore: s/size/length (#16351)"

This reverts commit 03e16ffa57.
This commit is contained in:
Electron Bot 2019-01-10 11:04:31 -08:00
parent 03e16ffa57
commit 2ee59cc82c

View file

@ -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