Skip to content

Commit

Permalink
fix: no duplicate --no-output
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Mar 14, 2024
1 parent 1b68b34 commit 521a41d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Plugins/Printer.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ public function handleArguments(array $arguments): array
return $arguments;
}

if (in_array('--no-output', $arguments, true)) {
return $arguments;
}

return $this->pushArgument('--no-output', $arguments);
}
}

0 comments on commit 521a41d

Please sign in to comment.