diff --git a/lib/platform-info.js b/lib/platform-info.js index 68127f88..ec447397 100644 --- a/lib/platform-info.js +++ b/lib/platform-info.js @@ -38,7 +38,7 @@ var utils = require('./utils'); var execP = Promise.denodeify(utils.execute); function checkInstalledLinux(pkg) { - return execP("dpkg", ["-s", pkg]).then(function(result) { + return execP("dpkg", ["-s", pkg]).then(function() { return Promise.resolve(); }).catch(function() { var msg = "missing package: " + pkg + ". Please install it";