diff --git a/src/Concerns/RunsCommands.php b/src/Concerns/RunsCommands.php index 6775a59..73dce94 100644 --- a/src/Concerns/RunsCommands.php +++ b/src/Concerns/RunsCommands.php @@ -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; } @@ -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; }