mirror of
https://github.com/desktop/desktop
synced 2024-08-24 02:42:15 +00:00
Let's just not bother with whitespace
This commit is contained in:
parent
c46db367a6
commit
543af3b053
|
@ -81,7 +81,7 @@ function upload (assetName, assetPath) {
|
|||
const s3 = new AWS.S3(s3Info)
|
||||
|
||||
const bucket = process.env.S3_BUCKET
|
||||
const key = `releases/${distInfo.getVersion()}-${sha}/${encodeURIComponent(assetName)}`
|
||||
const key = `releases/${distInfo.getVersion()}-${sha}/${assetName.replace(/ /g, '')}`
|
||||
const url = `https://s3.amazonaws.com/${bucket}/${key}`
|
||||
|
||||
const uploadParams = {
|
||||
|
|
Loading…
Reference in a new issue