mirror of
https://github.com/desktop/desktop
synced 2024-08-24 18:57:33 +00:00
Remove dead code block
This commit is contained in:
parent
580bf78df1
commit
7f449635e8
|
@ -119,13 +119,6 @@ interface IUploadResult {
|
|||
|
||||
async function upload(assetName: string, assetPath: string) {
|
||||
const azureBlobService = await getAzureBlobService()
|
||||
|
||||
if (azureBlobService === null) {
|
||||
throw new Error(
|
||||
'Unable to obtain an azure blob service. Deployment aborting...'
|
||||
)
|
||||
}
|
||||
|
||||
const container = process.env.AZURE_BLOB_CONTAINER || ''
|
||||
const cleanAssetName = assetName.replace(/ /g, '')
|
||||
const blob = `releases/${packageInfo.getVersion()}-${sha}/${cleanAssetName}`
|
||||
|
|
Loading…
Reference in a new issue