We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b388ac3 commit c8df973Copy full SHA for c8df973
_tools/patch_for_go_gem/patch_for_go_gem.rb
@@ -62,7 +62,7 @@ def snake_to_camel(str)
62
end
63
64
# Create <gem_name>.go
65
- def create_gem_name_go # rubocop:disable Metrics/MethodLength
+ def create_gem_name_go
66
gem_name_go_path = File.join(ext_dir, "#{gem_name}.go")
67
68
return if File.exist?(gem_name_go_path)
@@ -188,7 +188,7 @@ def $objs.empty?; false; end
188
189
# @param file_path [String]
190
# @param content [String]
191
- def save_file(file_path:, content:) # rubocop:disable Metrics/MethodLength
+ def save_file(file_path:, content:)
192
is_updated = File.exist?(file_path)
193
if is_updated
194
before_content = File.read(file_path)
0 commit comments