Skip to content

Commit a0384e2

Browse files
update
1 parent ec2515d commit a0384e2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Capsule/Artisan.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,10 @@ public function run(array $argv): int
162162
*/
163163
private function renderList(): void
164164
{
165-
$this->cli_name = "{$this->cli_name}\n" ?: "Tamedevelopers Support CLI\n";
166-
165+
$this->cli_name = !empty($this->cli_name)
166+
? "{$this->cli_name}\n"
167+
: "Tamedevelopers Support CLI\n";
168+
167169
Logger::helpHeader($this->cli_name);
168170
Logger::writeln('<yellow>Usage:</yellow>');
169171
Logger::writeln(' php tame <command> [:option] [arguments]');

0 commit comments

Comments
 (0)