Skip to content

Commit

Permalink
Report version hash on dev- branches
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxwilko authored Dec 13, 2024
1 parent e9be8c2 commit fb3511f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Parser/InstallOutputParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,7 @@ public function parse(array $output): array
$action = strtolower($matches[1]);
$package = $matches[2];
$version = trim($matches[6]);
if (strpos($version, ' ') !== false) {
$version = explode(' ', $version)[0];
}
$newVersion = isset($matches[8]) ? trim($matches[8]) : null;
if (isset($newVersion) && strpos($newVersion, ' ') !== false) {
$newVersion = explode(' ', $newVersion)[0];
}

if ($section === 'lock') {
switch ($action) {
Expand Down

0 comments on commit fb3511f

Please sign in to comment.