Undo setup changes

This commit is contained in:
Benjamin Beganović 2020-07-28 14:41:10 +02:00
parent 444df3d850
commit ffe73b77af

View File

@ -90,13 +90,14 @@ class SystemHealth
exec('node -v', $foo, $exitCode); exec('node -v', $foo, $exitCode);
if ($exitCode === 0) { if ($exitCode === 0) {
return true; return $foo[0];
} }
return false;
} catch (\Exception $e) { } catch (\Exception $e) {
return false; return false;
} }
} }
public static function checkNpm() public static function checkNpm()
@ -105,14 +106,14 @@ class SystemHealth
exec('npm -v', $foo, $exitCode); exec('npm -v', $foo, $exitCode);
if ($exitCode === 0) { if ($exitCode === 0) {
return true; return $foo[0];
} }
return false;
}catch (\Exception $e) { }catch (\Exception $e) {
return false; return false;
} }
} }
private static function simpleDbCheck() :bool private static function simpleDbCheck() :bool