Resolve requested changes

This commit is contained in:
Julen Garcia Leunda
2019-09-10 22:54:34 +02:00
parent aff402f6e0
commit 6255ccd253

View File

@@ -517,14 +517,10 @@ function buildLinux (cb) {
desktopTemplate: path.join(config.STATIC_PATH, 'linux/webtorrent-desktop.ejs')
}
installer(options)
.then(function () {
console.log('Linux: Created deb.')
cb(null)
})
.catch(function (err) {
cb(err)
})
installer(options).then(
() => cb(null),
(err) => cb(err)
)
}
function packageZip (filesPath, cb) {