diff --git a/src/RecipeInstaller.php b/src/RecipeInstaller.php index 6233915..bd5d3b7 100644 --- a/src/RecipeInstaller.php +++ b/src/RecipeInstaller.php @@ -189,8 +189,7 @@ class RecipeInstaller extends LibraryInstaller $projectPath = dirname(realpath(Factory::getComposerFile() ?? '') ?? ''); // Find public path - $candidatePublicPath = $projectPath . DIRECTORY_SEPARATOR . RecipePlugin::PUBLIC_PATH; - $publicPath = is_dir($candidatePublicPath ?? '') ? $candidatePublicPath : $projectPath; + $publicPath = $projectPath . DIRECTORY_SEPARATOR . RecipePlugin::PUBLIC_PATH; // Copy project files to root $name = $package->getName();