formatting

This commit is contained in:
cupcakearmy 2019-12-04 23:36:04 +01:00
parent 336f44e9dc
commit bcb081234c

View File

@ -215,8 +215,7 @@ const handlers: Handlers = {
darwin: 'macos', darwin: 'macos',
} }
const name = `autorestic_${platformMap[process.platform] || const name = `autorestic_${platformMap[process.platform] || process.platform}_${process.arch}`
process.platform}_${process.arch}`
const dl = json.assets.find((asset: any) => asset.name === name) const dl = json.assets.find((asset: any) => asset.name === name)
const to = INSTALL_DIR + '/autorestic' const to = INSTALL_DIR + '/autorestic'