1
0
Fork 0

Merge pull request #9116 from ryanaslett/patch-1

Update PathDownloader.php
pull/9122/head
Jordi Boggiano 2020-08-11 09:54:09 +02:00 committed by GitHub
commit c0eb9834fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ class PathDownloader extends FileDownloader implements VcsCapableDownloaderInter
{
$realUrl = realpath($package->getDistUrl());
if ($path === $realUrl) {
if (realpath($path) === $realUrl) {
if ($output) {
$this->io->writeError(" - " . UninstallOperation::format($package).", source is still present in $path");
}