Skip to content

Commit

Permalink
Fix missing method from Shell class
Browse files Browse the repository at this point in the history
  • Loading branch information
josecanhelp committed Sep 14, 2020
1 parent 251619b commit 1d96257
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/Shell/Shell.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,9 @@ public function formatMessage(string $buffer, $isError = false): string
return $carry .= trim(sprintf($pre, $line)) . "\n";
}, ''));
}

public function formatErrorMessage(string $buffer)
{
return $this->formatMessage($buffer, true);
}
}

0 comments on commit 1d96257

Please # to comment.