Autofix Rubocop Style/Lambda (#23696)
This commit is contained in:
1 parent
e2a3ebb271
commit
ab7816a414
6 files changed
+7
-19
No files matched your search
+1
-1
@@ -121,7 +121,7 @@ module Mastodon
|
||||
|
||||
prompt.warn('Do NOT interrupt this process...')
|
||||
|
||||
delete_account = ->(account) do
|
||||
delete_account = lambda do |account|
|
||||
payload = ActiveModelSerializers::SerializableResource.new(
|
||||
account,
|
||||
serializer: ActivityPub::DeleteActorSerializer,
|
||||
|
||||
Reference in new issue
Block a user