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
parent
5987114f6c
commit
1b2582ff5b
|
@ -285,6 +285,8 @@ EOT
|
||||||
$directory = getcwd() . DIRECTORY_SEPARATOR . array_pop($parts);
|
$directory = getcwd() . DIRECTORY_SEPARATOR . array_pop($parts);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$io->writeError('<info>Creating a "' . $packageName . '" project at "' . $directory . '"</info>');
|
||||||
|
|
||||||
$fs = new Filesystem();
|
$fs = new Filesystem();
|
||||||
if (file_exists($directory)) {
|
if (file_exists($directory)) {
|
||||||
if (!is_dir($directory)) {
|
if (!is_dir($directory)) {
|
||||||
|
|
Loading…
Reference in New Issue