Skip to content

Commit

Permalink
Removes publish config files (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro authored Mar 5, 2024
1 parent 4e77109 commit 749eedc
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,16 +174,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
}

if (($process = $this->runCommands($commands, $input, $output))->isSuccessful()) {
if ($this->usingLaravel11OrNewer($directory)) {
if (confirm(label: 'Would you like to publish Laravel\'s configuration files?', default: false)) {
$this->runCommands([
$this->phpBinary().' artisan config:publish --all',
], $input, $output, workingPath: $directory);

@unlink($directory.'/config/.gitkeep');
}
}

if ($name !== '.') {
$this->replaceInFile(
'APP_URL=http://localhost',
Expand Down

0 comments on commit 749eedc

Please sign in to comment.