1
0
Fork 0

Update src/Composer/Downloader/ArchiveDownloader.php

Code style fix
pull/977/head
Артём Курапов 2012-08-05 11:55:43 +03:00
parent 03db848b23
commit 274b54c2b5
1 changed files with 2 additions and 3 deletions

View File

@ -49,8 +49,7 @@ abstract class ArchiveDownloader extends FileDownloader
if (is_file($contentDir)) {
rename($contentDir, $path . '/' . basename($contentDir));
}
else{
} else {
// Rename the content directory to avoid error when moving up
// a child folder with the same name