We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bacaf12 commit 02d51b7Copy full SHA for 02d51b7
src/app/Console/Commands/RequireDevTools.php
@@ -145,13 +145,14 @@ public function handle()
145
// Finish
146
$this->progressBar->finish();
147
$this->info(' DevTools is now required.');
148
-
+
149
// DevTools inside installer
150
$this->info('');
151
$this->info(' Now running the DevTools installation command.');
152
153
- app()->registerDeferredProvider(\Backpack\DevTools\DevToolsServiceProvider::class);
154
155
- $this->call('backpack:devtools:install');
+ // manually include the command in the run-time
+ include(base_path('vendor/backpack/devtools/src/Console/Commands/InstallDevTools.php'));
156
+ $this->call(\Backpack\DevTools\Console\Commands\InstallDevTools::class);
157
}
158
0 commit comments