Skip to content

Commit

Permalink
[5.x] Fix please version (#9925)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga authored Apr 18, 2024
1 parent 02952c2 commit 559be7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Console/Please/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use App\Console\Kernel as ConsoleKernel;
use Statamic\Console\Please\Application as Please;
use Statamic\Statamic;
use Symfony\Component\EventDispatcher\EventDispatcher;

class Kernel extends ConsoleKernel
Expand All @@ -17,7 +18,7 @@ protected function getArtisan()
{
if (is_null($this->artisan)) {
$this->artisan = tap(
(new Please($this->app, $this->events, $this->app->version()))
(new Please($this->app, $this->events, Statamic::version()))
->resolveCommands($this->commands)
->setContainerCommandLoader()
)->setName('Statamic');
Expand Down

0 comments on commit 559be7d

Please sign in to comment.