From 2e4f4d6b6b82075d065ce1f5f431c29d0e03fac9 Mon Sep 17 00:00:00 2001 From: Timoffei Bubigo Date: Wed, 27 Jan 2021 16:45:37 +0300 Subject: [PATCH] Show result with null on screen --- app/Console/Commands/HRCCommand.php | 3 +++ 1 file changed, 3 insertions(+) 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)