From 87593ddf8b1c0de619891c811836b310062ee01f Mon Sep 17 00:00:00 2001 From: ray-1337 <33544674+ray-1337@users.noreply.github.com> Date: Mon, 11 Apr 2022 23:39:48 +0200 Subject: [PATCH] return boolean instead --- src/Util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Util.js b/src/Util.js index 32ce840..e3e3798 100644 --- a/src/Util.js +++ b/src/Util.js @@ -8,7 +8,7 @@ module.exports.checkNodeVersion = function () { throw new Error(`The Node version must be at least v${currentApropriateVersion} or above.`); }; - return; + return true; }; module.exports.checkPlatform = function () { @@ -21,7 +21,7 @@ module.exports.checkPlatform = function () { throw new Error("Your platform must be at least Linux."); }; - return; + return true; }; module.exports.getDistroInfo = function () {