Browse Source

removed unknown variable

develop
ray-1337 3 years ago
parent
commit
6b5087ff05
  1. 2
      src/Util.js

2
src/Util.js

@ -36,7 +36,7 @@ module.exports.getDistroInfo = async function () {
let {stdout, stderr} = await promisifiedExec('lsb_release -i -r'); let {stdout, stderr} = await promisifiedExec('lsb_release -i -r');
if (stderr) { 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) { if (stdout) {

Loading…
Cancel
Save