We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3cbc38 commit 549db83Copy full SHA for 549db83
app/Commands/DetectCommand.php
@@ -25,7 +25,7 @@ public function handle(): void
25
$this->log($result, $code);
26
}
27
28
- echo $result->toJson();
+ echo $result->toJson($this->option('debug') ? JSON_PRETTY_PRINT : 0);
29
30
31
protected function log($result, $code)
0 commit comments