From 6b5087ff05d209214b303c6765cbd38cd0d94012 Mon Sep 17 00:00:00 2001 From: ray-1337 <33544674+ray-1337@users.noreply.github.com> Date: Tue, 12 Apr 2022 00:15:04 +0200 Subject: [PATCH] removed unknown variable --- src/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util.js b/src/Util.js index 7bb258b..d2ee7a7 100644 --- a/src/Util.js +++ b/src/Util.js @@ -36,7 +36,7 @@ module.exports.getDistroInfo = async function () { let {stdout, stderr} = await promisifiedExec('lsb_release -i -r'); if (stderr) { - throw new Error(`Error while checking Linux distribution information: ${stderr ? stderr : error}`); + throw new Error(`Error while checking Linux distribution information: ${stderr}`); }; if (stdout) {