Show result with null on screen
This commit is contained in:
@@ -64,6 +64,9 @@ class HRCCommand extends Command
|
|||||||
$result_file = CORE_PATH . '/temp/' . $this->argument('result');
|
$result_file = CORE_PATH . '/temp/' . $this->argument('result');
|
||||||
file_put_contents($result_file, json_encode($result));
|
file_put_contents($result_file, json_encode($result));
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
$this->info(json_encode($result));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getCoreConfig($name, $default = null)
|
private function getCoreConfig($name, $default = null)
|
||||||
|
|||||||
Reference in New Issue
Block a user