From a18fd6402d5a531bb7a360fd2ecb0e2117890673 Mon Sep 17 00:00:00 2001 From: Rafael Grigorian <5500199+null93@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:55:07 -0600 Subject: [PATCH] Using `current_path` instead of hardcoding `current` (#3962) --- recipe/shopware.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/shopware.php b/recipe/shopware.php index 9c347c8f0..b8ff1b27a 100644 --- a/recipe/shopware.php +++ b/recipe/shopware.php @@ -165,12 +165,12 @@ function getPlugins(): array if (!test('[ -d {{current_path}} ]')) { return; } - within('{{deploy_path}}/current', function () { + within('{{current_path}}', function () { run('{{bin/php}} ./bin/console bundle:dump'); - download('{{deploy_path}}/current/var/plugins.json', './var/'); + download('{{current_path}}/var/plugins.json', './var/'); run('{{bin/php}} ./bin/console theme:dump'); - download('{{deploy_path}}/current/files/theme-config', './files/'); + download('{{current_path}}/files/theme-config', './files/'); }); });