Disable Metrics/* cops (#35000)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2025-08-20 17:04:36 +00:00
1 parent 181134153d
commit 20a71a5479
3 files changed
+13 -23

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ class InitialStateSerializer < ActiveModel::Serializer
has_one :push_subscription, serializer: REST::WebPushSubscriptionSerializer
has_one :role, serializer: REST::RoleSerializer
def meta # rubocop:disable Metrics/AbcSize
def meta
store = default_meta_store
if object.current_account