Fix get info method

This commit is contained in:
2021-01-27 16:59:16 +03:00
parent 1b2c714611
commit 0ce837d931

View File

@@ -10,7 +10,7 @@ class HRCInfo extends HRCCommand implements HRCCommandInterface
public function command($input, $output = null)
{
$info = json_decode(CORE_PATH . '/composer.json', true);
$info = json_decode(file_get_contents(CORE_PATH . '/composer.json'), true);
return [
'status' => 'success',