From 6255ccd25349617bbba643678d2f0987b25139a9 Mon Sep 17 00:00:00 2001 From: Julen Garcia Leunda Date: Tue, 10 Sep 2019 22:54:34 +0200 Subject: [PATCH] Resolve requested changes --- bin/package.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/bin/package.js b/bin/package.js index a84da15e..ecc54567 100755 --- a/bin/package.js +++ b/bin/package.js @@ -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) {