1
0
Fork 0

Fix cleanup of useless feature_versions

pull/9187/head
Jordi Boggiano 2020-09-08 11:14:13 +02:00 committed by GitHub
parent bae227ec2d
commit 9dc125f79c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class VersionGuesser
private function postprocess(array $versionData)
{
if (!empty($versionData['feature_version']) && $versionData['feature_version'] === $versionData['version']) {
if (!empty($versionData['feature_version']) && $versionData['feature_version'] === $versionData['version'] && $versionData['feature_pretty_version'] === $versionData['pretty_version']) {
unset($versionData['feature_version'], $versionData['feature_pretty_version']);
}