Skip to content

Commit 549db83

Browse files
committed
Update DetectCommand.php
1 parent f3cbc38 commit 549db83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: app/Commands/DetectCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function handle(): void
2525
$this->log($result, $code);
2626
}
2727

28-
echo $result->toJson();
28+
echo $result->toJson($this->option('debug') ? JSON_PRETTY_PRINT : 0);
2929
}
3030

3131
protected function log($result, $code)

0 commit comments

Comments
 (0)