Skip to content

Commit 1328dc3

Browse files
committed
Tweaks the output format
1 parent 6670bdc commit 1328dc3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/Shell/Shell.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ public function exec(string $command, array $parameters = [], bool $quiet = fals
2727

2828
if ($type === Process::ERR) {
2929
error('Something went wrong.');
30+
note(' <bg=red;fg=white> ERR </> ' . $this->formatMessage($buffer));
31+
} else {
32+
note(' <bg=green;fg=white> OUT </> ' . $this->formatMessage($buffer));
3033
}
31-
32-
note($this->formatMessage($buffer));
3334
}, $parameters);
3435

3536
return $process;

0 commit comments

Comments
 (0)