Skip to content

Commit 55c29c1

Browse files
committed
remove unnecessary assignment
1 parent 032649f commit 55c29c1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎lib/fastlane/plugin/patch/actions/apply_patch_action.rb‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ def self.run(params)
55
helper = Fastlane::Helper::PatchHelper
66
modified_contents = File.open(params[:file], "r") do |f|
77
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]
8+
helper.apply_patch contents,
9+
params[:regexp],
10+
params[:text],
11+
params[:global],
12+
params[:mode],
13+
params[:offset]
1414
end
1515

1616
File.open(params[:file], "w") { |f| f.write modified_contents }

0 commit comments

Comments
 (0)