Skip to content

Commit 3f6b850

Browse files
author
Anton
authored
Merge pull request #9 from bluzphp/develop
Hotfix for installer
2 parents 1e9c7fa + 3b34f7d commit 3f6b850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Installers/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ protected function copy($source, $target)
227227
return;
228228
}
229229
// skip, if target exists
230-
if (is_file($target)) {
230+
if (is_file($target) && !is_dir($target)) {
231231
$this->installer->getIo()->write(
232232
sprintf(' - File <comment>%s</comment> already exists', $target),
233233
true,

0 commit comments

Comments
 (0)