Skip to content

Commit

Permalink
Tweaks the output format
Browse files Browse the repository at this point in the history
  • Loading branch information
tonysm committed Dec 18, 2024
1 parent 6670bdc commit 1328dc3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/Shell/Shell.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ public function exec(string $command, array $parameters = [], bool $quiet = fals

if ($type === Process::ERR) {
error('Something went wrong.');
note(' <bg=red;fg=white> ERR </> ' . $this->formatMessage($buffer));
} else {
note(' <bg=green;fg=white> OUT </> ' . $this->formatMessage($buffer));
}

note($this->formatMessage($buffer));
}, $parameters);

return $process;
Expand Down

0 comments on commit 1328dc3

Please sign in to comment.