From 1328dc30a9e826bab1d5b46f2155a2dfe8d1e7fe Mon Sep 17 00:00:00 2001 From: Tony Messias Date: Tue, 17 Dec 2024 23:58:27 -0300 Subject: [PATCH] Tweaks the output format --- app/Shell/Shell.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Shell/Shell.php b/app/Shell/Shell.php index 2dbb23c..e03e970 100644 --- a/app/Shell/Shell.php +++ b/app/Shell/Shell.php @@ -27,9 +27,10 @@ public function exec(string $command, array $parameters = [], bool $quiet = fals if ($type === Process::ERR) { error('Something went wrong.'); + note(' ERR ' . $this->formatMessage($buffer)); + } else { + note(' OUT ' . $this->formatMessage($buffer)); } - - note($this->formatMessage($buffer)); }, $parameters); return $process;