1 parent 032649f commit 55c29c1Copy full SHA for 55c29c1
1 file changed
lib/fastlane/plugin/patch/actions/apply_patch_action.rb
@@ -5,12 +5,12 @@ def self.run(params)
5
helper = Fastlane::Helper::PatchHelper
6
modified_contents = File.open(params[:file], "r") do |f|
7
contents = f.read
8
- modified_contents = helper.apply_patch contents,
9
- params[:regexp],
10
- params[:text],
11
- params[:global],
12
- params[:mode],
13
- params[:offset]
+ helper.apply_patch contents,
+ params[:regexp],
+ params[:text],
+ params[:global],
+ params[:mode],
+ params[:offset]
14
end
15
16
File.open(params[:file], "w") { |f| f.write modified_contents }
0 commit comments