Merge pull request #7745 from glaubinix/f/undefined-index-name
Fix: undefined index name in VcsRepositorypull/7752/head
commit
40a0c1d411
|
@ -188,7 +188,8 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($existingPackage = $this->findPackage($data['name'], $data['version_normalized'])) {
|
$tagPackageName = isset($data['name']) ? $data['name'] : $this->packageName;
|
||||||
|
if ($existingPackage = $this->findPackage($tagPackageName, $data['version_normalized'])) {
|
||||||
if ($verbose) {
|
if ($verbose) {
|
||||||
$this->io->writeError('<warning>Skipped tag '.$tag.', it conflicts with an another tag ('.$existingPackage->getPrettyVersion().') as both resolve to '.$data['version_normalized'].' internally</warning>');
|
$this->io->writeError('<warning>Skipped tag '.$tag.', it conflicts with an another tag ('.$existingPackage->getPrettyVersion().') as both resolve to '.$data['version_normalized'].' internally</warning>');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue