Fix get info method
This commit is contained in:
@@ -10,7 +10,7 @@ class HRCInfo extends HRCCommand implements HRCCommandInterface
|
|||||||
|
|
||||||
public function command($input, $output = null)
|
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 [
|
return [
|
||||||
'status' => 'success',
|
'status' => 'success',
|
||||||
|
|||||||
Reference in New Issue
Block a user