Add is_release to info method
This commit is contained in:
@@ -15,7 +15,8 @@ class HRCInfo extends HRCCommand implements HRCCommandInterface
|
||||
|
||||
return [
|
||||
'status' => 'success',
|
||||
'version' => $info['info']['version'] ?? '0.0'
|
||||
'version' => $info['info']['version'] ?? '0.0',
|
||||
'is_release' => (int)(!$info['info']['is_debug'] ?? true)
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user