Skip to content

Commit c192fff

Browse files
authored
[FIX] Array to string conversion in WatcherCommand on line 121 (#144)
Fixes: #143
1 parent 8cd6c67 commit c192fff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/WatcherCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ protected function displayOptions(array $options, InputInterface $input, OutputI
118118
}
119119
$output->newLine();
120120

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

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

0 commit comments

Comments
 (0)