Let's just not bother with whitespace

This commit is contained in:
joshaber 2016-11-18 12:53:06 -05:00
parent c46db367a6
commit 543af3b053

View file

@ -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 = {