File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public function installAuth()
8282 $ this ->ensureDirectoriesExist ($ viewsPath );;
8383
8484 foreach ($ this ->views as $ key => $ value ) {
85- if (file_exists ($ view = LaravelUtils::getViewPath ($ value )) && ! $ this -> command -> option ( ' force ' ) ) {
85+ if (file_exists ($ view = LaravelUtils::getViewPath ($ value ))) {
8686 if (!$ this ->command ->confirm ("The [ {$ value }] view already exists. Do you want to replace it? " )) {
8787 continue ;
8888 }
Original file line number Diff line number Diff line change 22
33namespace InfyOm \AdminLTEPreset ;
44
5- use Illuminate \Console \Command ;
65use Illuminate \Support \ServiceProvider ;
76use Laravel \Ui \UiCommand ;
87
98class AdminLTEPresetServiceProvider extends ServiceProvider
109{
1110 public function boot ()
1211 {
13- UiCommand::macro ('adminlte ' , function (Command $ command ) {
12+ UiCommand::macro ('adminlte ' , function (UiCommand $ command ) {
1413
1514 $ command ->info ("AdminLTE Preset called " );
1615
You can’t perform that action at this time.
0 commit comments