Skip to content

Commit 3ee178f

Browse files
author
Kopylova,Olga(okopylova)
committed
Merge pull request #5 from magento-ogre/MAGETWO-43495-fix-composer-info-parsing
MAGETWO-43495: Fix composer info parsing on windows
2 parents b5a85a9 + 901c2ff commit 3ee178f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InfoCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function run($package, $installed = false)
6767
return false;
6868
}
6969

70-
$rawLines = explode(PHP_EOL, $output);
70+
$rawLines = explode("\n", str_replace("\r\n", "\n", $output));
7171

7272
foreach ($rawLines as $line) {
7373
$chunk = explode(':', $line);

0 commit comments

Comments
 (0)