Skip to content

Commit a18fd64

Browse files
authored
Using current_path instead of hardcoding current (#3962)
1 parent bdd0705 commit a18fd64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

recipe/shopware.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,12 @@ function getPlugins(): array
165165
if (!test('[ -d {{current_path}} ]')) {
166166
return;
167167
}
168-
within('{{deploy_path}}/current', function () {
168+
within('{{current_path}}', function () {
169169
run('{{bin/php}} ./bin/console bundle:dump');
170-
download('{{deploy_path}}/current/var/plugins.json', './var/');
170+
download('{{current_path}}/var/plugins.json', './var/');
171171

172172
run('{{bin/php}} ./bin/console theme:dump');
173-
download('{{deploy_path}}/current/files/theme-config', './files/');
173+
download('{{current_path}}/files/theme-config', './files/');
174174
});
175175
});
176176

0 commit comments

Comments
 (0)