Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-ivona committed Jan 21, 2025
1 parent f7cd5c6 commit db176b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Containers/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ public function execute(TerminalService $terminal, array $commands, string $inpu
{

$service_command = [
env('DOCKER_COMPOSE_COMMAND', 'docker compose'),
...((new Stringable(env('DOCKER_COMPOSE_COMMAND', 'docker compose')))
->explode(' ')
->toArray()),
'exec',
];

Expand All @@ -258,7 +260,6 @@ public function execute(TerminalService $terminal, array $commands, string $inpu

$commands = array_merge($service_command, $commands);

dump($commands);
return $terminal->execute($commands, $input);
}

Expand All @@ -281,7 +282,6 @@ public function run(TerminalService $terminal, array $commands, string $input =
$service_command[] = $this->service_name;

$commands = array_merge($service_command, $commands);
dump($commands);
return $terminal->execute($commands, $input);
}

Expand Down

0 comments on commit db176b4

Please sign in to comment.