Sfoglia il codice sorgente

normalize version to provide consistent output from package version vs vcs version

Steve Buzonas 8 anni fa
parent
commit
7b6e06c686
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/Composer/Command/StatusCommand.php

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

@@ -116,7 +116,7 @@ EOT
                                 'ref'     => $previousRef
                             ),
                             'current'  => array(
-                                'version' => $currentVersion['version'],
+                                'version' => $parser->normalize($currentVersion['version']),
                                 'ref'     => $currentVersion['commit'],
                             ),
                         );