Permalink
Browse files

redo: size -> length (#16370)

  • Loading branch information...
codebytere committed Jan 11, 2019
1 parent 3cb9aad commit e2b1394ad10f8168966777f4e274944416417d42
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit e2b1394

Please sign in to comment.