mirror of
https://github.com/composer/composer
synced 2025-05-10 09:02:59 +00:00
Fix version guessing regression and a few other issues, fixes #7127
This commit is contained in:
parent
79d62cc51c
commit
9041622b86
3 changed files with 4 additions and 13 deletions
|
@ -155,7 +155,7 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn
|
|||
|
||||
if (!isset($package['version'])) {
|
||||
$versionData = $this->versionGuesser->guessVersion($package, $path);
|
||||
$package['version'] = $versionData['version'] ?: 'dev-master';
|
||||
$package['version'] = $versionData['pretty_version'] ?: 'dev-master';
|
||||
}
|
||||
|
||||
$output = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue