We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 126666f commit 3b34f7dCopy full SHA for 3b34f7d
src/Installers/Plugin.php
@@ -227,7 +227,7 @@ protected function copy($source, $target)
227
return;
228
}
229
// skip, if target exists
230
- if (is_file($target)) {
+ if (is_file($target) && !is_dir($target)) {
231
$this->installer->getIo()->write(
232
sprintf(' - File <comment>%s</comment> already exists', $target),
233
true,
0 commit comments