From 0d160e4b2d1067f0a187cb523da60996bcd60bab Mon Sep 17 00:00:00 2001 From: Aaron Bushnell Date: Wed, 1 Jan 2025 19:41:48 -0500 Subject: [PATCH] Fix command output --- app/Data/Sandbox.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Data/Sandbox.php b/app/Data/Sandbox.php index cc6b9ce..e6e9466 100644 --- a/app/Data/Sandbox.php +++ b/app/Data/Sandbox.php @@ -81,16 +81,16 @@ public function mountRepository(): void // Execute any post-mount commands if they exist if (config('forge.post_mount_commands')) { - $cmds = str(config('forge.post_mount_commands')) + $commandString = str(config('forge.post_mount_commands')) ->explode(';') ->filter() ->map(fn ($command) => str($command)->trim()->value()) - ->toArray(); + ->join(' && '); $this->forge->executeSiteCommand( config('forge.server'), $this->getSite()->id, - $cmds, + ["command" => $commandString], ); } }