File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Illuminate/Auth/Console Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments