Skip to content

Commit

Permalink
out of scope
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Oct 24, 2024
1 parent 272215c commit e13d57a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Concerns/RunsCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ protected function runCommands(array $commands, ?string $workingPath = null, boo
{
if (! $this->output->isDecorated()) {
$commands = array_map(function ($value) {
if (str_starts_with($value, 'chmod') || str_starts_with($value, 'rm ')) {
if (str_starts_with($value, 'chmod')) {
return $value;
}

Expand All @@ -39,7 +39,7 @@ protected function runCommands(array $commands, ?string $workingPath = null, boo

if ($this->input->getOption('quiet')) {
$commands = array_map(function ($value) {
if (str_starts_with($value, 'chmod') || str_starts_with($value, 'rm ')) {
if (str_starts_with($value, 'chmod')) {
return $value;
}

Expand Down

0 comments on commit e13d57a

Please sign in to comment.