1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 09:02:59 +00:00

Merge pull request #4299 from webberwu/master

show change if package directory have changed to symbolic link
This commit is contained in:
Jordi Boggiano 2015-08-10 01:17:02 +01:00
commit 5a26b7c102

View file

@ -68,6 +68,10 @@ EOT
if ($downloader instanceof ChangeReportInterface) {
$targetDir = $im->getInstallPath($package);
if (is_link($targetDir)) {
$errors[$targetDir] = $targetDir . ' is a symbolic link.';
}
if ($changes = $downloader->getLocalChanges($package, $targetDir)) {
$errors[$targetDir] = $changes;
}