Skip to content

Commit ddc4753

Browse files
committed
add pro version to command
1 parent f77c74c commit ddc4753

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/app/Console/Commands/Version.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,15 @@ public function handle()
3636
$this->line(\PackageVersions\Versions::getVersion('laravel/framework'));
3737
$this->line('');
3838

39-
$this->comment('### BACKPACK VERSION:');
39+
$this->comment('### BACKPACK CRUD:');
4040
$this->line(\PackageVersions\Versions::getVersion('backpack/crud'));
4141
$this->line('');
42+
43+
if (backpack_pro()) {
44+
$this->comment('### BACKPACK PRO:');
45+
$this->line(\PackageVersions\Versions::getVersion('backpack/pro'));
46+
$this->line('');
47+
}
4248
}
4349

4450
/**

0 commit comments

Comments
 (0)