diff --git a/app/Console/Commands/HRCCommand.php b/app/Console/Commands/HRCCommand.php index ded290f..89ac4c5 100644 --- a/app/Console/Commands/HRCCommand.php +++ b/app/Console/Commands/HRCCommand.php @@ -64,6 +64,9 @@ class HRCCommand extends Command $result_file = CORE_PATH . '/temp/' . $this->argument('result'); file_put_contents($result_file, json_encode($result)); } + else { + $this->info(json_encode($result)); + } } private function getCoreConfig($name, $default = null)