From 59e4a2d49bd105d92a866bfe5e2789f801383b5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Thu, 22 Oct 2026 11:10:37 +0200 Subject: [PATCH] chore: code cleanup --- deploy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.php b/deploy.php index 0b30dd4..e507a64 100644 --- a/deploy.php +++ b/deploy.php @@ -87,7 +87,7 @@ desc('Build the release locally: committed state, production dependencies, theme task('build', function () { // Inside DDEV directly, on the host through "ddev exec" (paths relative to the project root) $inDdev = getenv('IS_DDEV_PROJECT') === 'true'; - $exec = fn (string $command) => runLocally($inDdev + $exec = fn(string $command) => runLocally($inDdev ? $command : 'ddev exec bash -c ' . escapeshellarg($command)); runLocally('rm -rf {{build_dir}} && mkdir -p {{build_dir}}');