Skip to content

Commit c8df973

Browse files
committed
Remove needless disable
1 parent b388ac3 commit c8df973

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_tools/patch_for_go_gem/patch_for_go_gem.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def snake_to_camel(str)
6262
end
6363

6464
# Create <gem_name>.go
65-
def create_gem_name_go # rubocop:disable Metrics/MethodLength
65+
def create_gem_name_go
6666
gem_name_go_path = File.join(ext_dir, "#{gem_name}.go")
6767

6868
return if File.exist?(gem_name_go_path)
@@ -188,7 +188,7 @@ def $objs.empty?; false; end
188188

189189
# @param file_path [String]
190190
# @param content [String]
191-
def save_file(file_path:, content:) # rubocop:disable Metrics/MethodLength
191+
def save_file(file_path:, content:)
192192
is_updated = File.exist?(file_path)
193193
if is_updated
194194
before_content = File.read(file_path)

0 commit comments

Comments
 (0)