Skip to content

Commit bef8f35

Browse files
committed
work on formatting
1 parent 26c4430 commit bef8f35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Illuminate/Auth/Console/MakeAuthCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ class MakeAuthCommand extends Command
1515
* @var string
1616
*/
1717
protected $signature = 'make:auth
18-
{--views : Only scaffold the authentication views}
19-
{--force : Overwrite existing views by default}';
18+
{--views : Only scaffold the authentication views}
19+
{--force : Overwrite existing views by default}';
2020

2121
/**
2222
* The console command description.
@@ -90,8 +90,8 @@ protected function createDirectories()
9090
protected function exportViews()
9191
{
9292
foreach ($this->views as $key => $value) {
93-
if (! $this->option('force') && file_exists(resource_path('views/'.$value))) {
94-
if (! $this->confirm('The view '.$value.' already exists, Do you wish overwrite it?')) {
93+
if (file_exists(resource_path('views/'.$value)) && ! $this->option('force')) {
94+
if (! $this->confirm("The [{$value}] view already exists. Do you want to replace it?")) {
9595
continue;
9696
}
9797
}

0 commit comments

Comments
 (0)