소스 검색

show pretty version in both scenarios

Steve Buzonas 9 년 전
부모
커밋
576721946c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/Composer/Command/StatusCommand.php

+ 2 - 2
src/Composer/Command/StatusCommand.php

@@ -112,11 +112,11 @@ EOT
                     if ($previousRef && $currentVersion['commit'] !== $previousRef) {
                         $vcsVersionChanges[$targetDir] = array(
                             'previous' => array(
-                                'version' => $package->getVersion(),
+                                'version' => $package->getPrettyVersion(),
                                 'ref'     => $previousRef
                             ),
                             'current'  => array(
-                                'version' => $parser->normalize($currentVersion['version']),
+                                'version' => $currentVersion['version'],
                                 'ref'     => $currentVersion['commit'],
                             ),
                         );