diff --git a/recipes/shopware6.php b/recipes/shopware6.php index 7dda719..ad3d6ae 100644 --- a/recipes/shopware6.php +++ b/recipes/shopware6.php @@ -46,7 +46,9 @@ ]); task('sw:deploy:vendors_recovery', static function () { - run('{{bin/composer}} {{composer_action}} -d vendor/shopware/recovery {{composer_options}} 2>&1'); + if (test('[ -d vendor/shopware/recovery ]')) { + run('{{bin/composer}} {{composer_action}} -d vendor/shopware/recovery {{composer_options}} 2>&1'); + } }); // This task remotely executes the `cache:clear` console command on the target server.