Skip to content

Commit

Permalink
Ignore Craft when checking addons update
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbushnell committed Apr 28, 2024
1 parent 1d4afac commit 224cb5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "trendyminds/orbit-craft",
"type": "craft-plugin",
"version": "1.0.4",
"version": "1.0.5",
"license": "MIT",
"authors": [
{
Expand Down
1 change: 1 addition & 0 deletions src/console/controllers/SyncController.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public function actionIndex(): int
'has_cms_update' => count($allUpdates->cms->releases) > 0,
'has_addons_update' => $updates
->filter(fn ($addon) => ! is_null($addon['latest_version']))
->filter(fn ($addon) => $addon['name'] !== 'craftcms/cms')
->isNotEmpty(),
'app' => [
'environment' => App::env('CRAFT_ENVIRONMENT') ?? App::env('ENVIRONMENT'),
Expand Down

0 comments on commit 224cb5c

Please sign in to comment.