소스 검색

Fix ShowCommand

Nicolas Grekas 8 년 전
부모
커밋
bfbcf03a6b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Command/ShowCommand.php

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

@@ -288,7 +288,7 @@ EOT
                             }
                         }
                     } else {
-                        $nameLength = max($nameLength, $package);
+                        $nameLength = max($nameLength, strlen($package));
                     }
                 }
                 list($width) = $this->getApplication()->getTerminalDimensions();