Skip to content

Commit d204c8e

Browse files
committed
Remove escaped quote characters from shell command parameters
1 parent bb27a3e commit d204c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def draw_text_to_canvas(canvas, text, width, height, x_position, y_position, fon
234234
begin
235235
tempTextFile = Tempfile.new()
236236

237-
Action.sh('drawText', "html=\"#{text}\"", "maxWidth=#{width}", "maxHeight=#{height}", "output=\"#{tempTextFile.path}\"", "fontSize=#{font_size}", "stylesheet=\"#{stylesheet_path}\"", "alignment=\"#{position}\"")
237+
Action.sh('drawText', "html=#{text}", "maxWidth=#{width}", "maxHeight=#{height}", "output=#{tempTextFile.path}", "fontSize=#{font_size}", "stylesheet=#{stylesheet_path}", "alignment=#{position}")
238238

239239
text_content = open_image(tempTextFile.path).trim
240240
text_frame = create_image(width, height)

0 commit comments

Comments
 (0)