Commit 40a13af9 authored by Tomás Soler's avatar Tomás Soler Committed by GitHub

Respect the styles given.

parent 31a54294
...@@ -62,13 +62,13 @@ class NewCommand extends Command ...@@ -62,13 +62,13 @@ class NewCommand extends Command
$composer.' run-script post-install-cmd', $composer.' run-script post-install-cmd',
$composer.' run-script post-create-project-cmd', $composer.' run-script post-create-project-cmd',
]; ];
if ($input->getOption('no-ansi')) { if ($input->getOption('no-ansi')) {
$commands = array_map(function ($value) { $commands = array_map(function ($value) {
return $value.' --no-ansi'; return $value.' --no-ansi';
}, $commands); }, $commands);
} }
$process = new Process(implode(' && ', $commands), $directory, null, null, null); $process = new Process(implode(' && ', $commands), $directory, null, null, null);
if ('\\' !== DIRECTORY_SEPARATOR && file_exists('/dev/tty') && is_readable('/dev/tty')) { if ('\\' !== DIRECTORY_SEPARATOR && file_exists('/dev/tty') && is_readable('/dev/tty')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment