Skip to content

Commit fb3511f

Browse files
authored
Report version hash on dev- branches
1 parent e9be8c2 commit fb3511f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Parser/InstallOutputParser.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,7 @@ public function parse(array $output): array
5858
$action = strtolower($matches[1]);
5959
$package = $matches[2];
6060
$version = trim($matches[6]);
61-
if (strpos($version, ' ') !== false) {
62-
$version = explode(' ', $version)[0];
63-
}
6461
$newVersion = isset($matches[8]) ? trim($matches[8]) : null;
65-
if (isset($newVersion) && strpos($newVersion, ' ') !== false) {
66-
$newVersion = explode(' ', $newVersion)[0];
67-
}
6862

6963
if ($section === 'lock') {
7064
switch ($action) {

0 commit comments

Comments
 (0)