From 674cb0781bdba259e7a25fcd2df6f8dd21dc5276 Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Thu, 29 Feb 2024 16:49:31 -0800 Subject: [PATCH] Fix rubocop warning. --- lib/i18n-js/cli/command.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/i18n-js/cli/command.rb b/lib/i18n-js/cli/command.rb index 76385ed2..72870c06 100644 --- a/lib/i18n-js/cli/command.rb +++ b/lib/i18n-js/cli/command.rb @@ -21,8 +21,8 @@ def self.parse(&block) end end - def self.command(&block) - define_method(:command, &block) + def self.command(&) + define_method(:command, &) end def initialize(argv:, ui:)