Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
brendt committed May 30, 2024
1 parent fd6f7bf commit b1636b8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/Exceptions/ConsoleExceptionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use Tempest\ExceptionHandler;
use Tempest\Highlight\Escape;
use Tempest\Highlight\Highlighter;
use function Tempest\ll;
use Throwable;

final readonly class ConsoleExceptionHandler implements ExceptionHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

public function getPattern(): string
{
return '/^(?<match>\[.*?\])/m';
return '/^(?<match>.*?)\s/';
}

public function getTokenType(): TokenType
Expand Down
1 change: 0 additions & 1 deletion tests/Fixtures/LogDebugCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace Tests\Tempest\Console\Fixtures;

use Tempest\Console\ConsoleCommand;
use function Tempest\lw;

final readonly class LogDebugCommand
{
Expand Down

0 comments on commit b1636b8

Please sign in to comment.