File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
lib/fastlane/plugin/wpmreleasetoolkit/actions/common Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 14
14
15
15
### Bug Fixes
16
16
17
- _ None _
17
+ - Fix error in ` extract_release_notes_for_version ` , avoiding modifying a frozen string. [ # 644 ]
18
18
19
19
### Internal Changes
20
20
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ def self.run(params)
10
10
release_notes_file_path = params [ :release_notes_file_path ]
11
11
extracted_notes_file_path = params [ :extracted_notes_file_path ]
12
12
13
- extracted_notes = ''
13
+ extracted_lines = [ ]
14
14
extract_notes ( release_notes_file_path , version ) do |line |
15
- extracted_notes += line
15
+ extracted_lines << line
16
16
end
17
- extracted_notes . chomp! ( '' ) # Remove any extra empty line(s) at the end
17
+ extracted_notes = extracted_lines . join . chomp ( '' ) # Combine lines and remove any extra empty line(s) at the end
18
18
19
19
unless extracted_notes_file_path . nil? || extracted_notes_file_path . empty?
20
20
File . write ( extracted_notes_file_path , extracted_notes )
You can’t perform that action at this time.
0 commit comments