1
0
Fork 0

Chore: Improve create-project install UX

Provides feedback output before a potentially long wait on getBestCandidate() call on slow network connections where unresponsiveness/hang may be assumed.
pull/8412/head
polarathene 2019-11-05 20:33:20 +13:00
parent 5987114f6c
commit 1b2582ff5b
1 changed files with 2 additions and 0 deletions

View File

@ -285,6 +285,8 @@ EOT
$directory = getcwd() . DIRECTORY_SEPARATOR . array_pop($parts);
}
$io->writeError('<info>Creating a "' . $packageName . '" project at "' . $directory . '"</info>');
$fs = new Filesystem();
if (file_exists($directory)) {
if (!is_dir($directory)) {