Skip to content

Commit 20b78b4

Browse files
committed
Fixed footer message appearing for brand-new projects.
1 parent 528144c commit 20b78b4

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.vortex/installer/src/Command/InstallCommand.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,12 @@ protected function header(): void {
446446
$content .= 'You will be asked a few questions to tailor the configuration to your site.' . PHP_EOL;
447447
$content .= 'No changes will be made until you confirm everything at the end.' . PHP_EOL;
448448
$content .= PHP_EOL;
449-
$content .= 'If you proceed, some committed files may be modified after confirmation, and you may need to resolve some of the changes manually.' . PHP_EOL;
450-
$content .= PHP_EOL;
449+
450+
if ($this->config->isVortexProject()) {
451+
$content .= 'If you proceed, some committed files may be modified after confirmation, and you may need to resolve some of the changes manually.' . PHP_EOL;
452+
$content .= PHP_EOL;
453+
}
454+
451455
$content .= 'Press ' . Tui::yellow('Ctrl+C') . ' at any time to exit the installer.' . PHP_EOL;
452456
$content .= 'Press ' . Tui::yellow('Ctrl+U') . ' at any time to go back to the previous step.' . PHP_EOL;
453457
}

0 commit comments

Comments
 (0)