File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ protected function exportBackend()
118
118
$ controller = app_path ('Http/Controllers/HomeController.php ' );
119
119
120
120
if (file_exists ($ controller ) && ! $ this ->option ('force ' )) {
121
- if ($ this ->components ->confirm ("The [HomeController.php] file already exists. Do you want to replace it? " )) {
121
+ if ($ this ->components ->confirm ("The [HomeController.php] file already exists. Do you want to replace it? " , true )) {
122
122
file_put_contents ($ controller , $ this ->compileStub ('controllers/HomeController ' ));
123
123
}
124
124
} else {
@@ -128,7 +128,7 @@ protected function exportBackend()
128
128
$ baseController = app_path ('Http/Controllers/Controller.php ' );
129
129
130
130
if (file_exists ($ baseController ) && ! $ this ->option ('force ' )) {
131
- if ($ this ->components ->confirm ("The [Controller.php] file already exists. Do you want to replace it? " )) {
131
+ if ($ this ->components ->confirm ("The [Controller.php] file already exists. Do you want to replace it? " , true )) {
132
132
file_put_contents ($ baseController , $ this ->compileStub ('controllers/Controller ' ));
133
133
}
134
134
} else {
You can’t perform that action at this time.
0 commit comments