diff --git a/lib/fastlane/plugin/wpmreleasetoolkit/helper/an_metadata_update_helper.rb b/lib/fastlane/plugin/wpmreleasetoolkit/helper/an_metadata_update_helper.rb index 6059a56fc..701a13179 100644 --- a/lib/fastlane/plugin/wpmreleasetoolkit/helper/an_metadata_update_helper.rb +++ b/lib/fastlane/plugin/wpmreleasetoolkit/helper/an_metadata_update_helper.rb @@ -50,7 +50,7 @@ def generate_block(fw) if line_count <= 1 # Single line output - fw.puts("msgid \"#{File.open(@content_file_path, 'r').read}\"") + fw.puts("msgid \"#{File.open(@content_file_path, 'r').read.strip}\"") else # Multiple line output fw.puts('msgid ""')