chore: s/size/length (#16351)
This commit is contained in:
parent
782825fc29
commit
03e16ffa57
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ async function uploadShasumFile (filePath, fileName, releaseId) {
|
||||||
url: uploadUrl,
|
url: uploadUrl,
|
||||||
headers: {
|
headers: {
|
||||||
'content-type': 'text/plain',
|
'content-type': 'text/plain',
|
||||||
'content-size': fs.statSync(filePath).size
|
'content-length': fs.statSync(filePath).size
|
||||||
},
|
},
|
||||||
file: fs.createReadStream(filePath),
|
file: fs.createReadStream(filePath),
|
||||||
name: fileName
|
name: fileName
|
||||||
|
|
Loading…
Reference in a new issue