mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user