Skip to content

Commit

Permalink
Ignores messages startingWith
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Jun 15, 2021
1 parent c4f9e43 commit bb5b628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/Concerns/InteractsWithIO.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function error($string, $verbosity = null)
*/
public function raw($string)
{
if (! Str::contains($string, $this->ignoreMessages)) {
if (! Str::startsWith($string, $this->ignoreMessages)) {
$this->output instanceof OutputStyle
? fwrite(STDERR, $string."\n")
: $this->output->writeln($string);
Expand Down

0 comments on commit bb5b628

Please sign in to comment.