Skip to content

Commit 749eedc

Browse files
authored
Removes publish config files (#317)
1 parent 4e77109 commit 749eedc

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/NewCommand.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
174174
}
175175

176176
if (($process = $this->runCommands($commands, $input, $output))->isSuccessful()) {
177-
if ($this->usingLaravel11OrNewer($directory)) {
178-
if (confirm(label: 'Would you like to publish Laravel\'s configuration files?', default: false)) {
179-
$this->runCommands([
180-
$this->phpBinary().' artisan config:publish --all',
181-
], $input, $output, workingPath: $directory);
182-
183-
@unlink($directory.'/config/.gitkeep');
184-
}
185-
}
186-
187177
if ($name !== '.') {
188178
$this->replaceInFile(
189179
'APP_URL=http://localhost',

0 commit comments

Comments
 (0)