Skip to content

Commit

Permalink
[FIX] Array to string conversion in WatcherCommand on line 121 (#144)
Browse files Browse the repository at this point in the history
Fixes: #143
  • Loading branch information
dkd-kaehm authored Jan 31, 2022
1 parent 8cd6c67 commit c192fff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/WatcherCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ protected function displayOptions(array $options, InputInterface $input, OutputI
}
$output->newLine();

$output->text("Tests will be rerun when {$options['watch']['fileMask']} files are modified in");
$fileMask = is_array($options['watch']['fileMask']) ? implode(',', $options['watch']['fileMask']) : $options['watch']['fileMask'];
$output->text("Tests will be rerun when {$fileMask} files are modified in");

$output->listing($options['watch']['directories']);

Expand Down

0 comments on commit c192fff

Please sign in to comment.