diff --git a/src/RecipeInstaller.php b/src/RecipeInstaller.php index 01d4733..b1c9d11 100644 --- a/src/RecipeInstaller.php +++ b/src/RecipeInstaller.php @@ -185,8 +185,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();