Skip to content

Commit

Permalink
redo: size -> length (#16370)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Jan 11, 2019
1 parent 3cb9aad commit e2b1394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2b1394

Please sign in to comment.