Skip to content

Commit 981f83b

Browse files
Quote output path
Co-authored-by: Olivier Halligon <olivier.halligon@automattic.com>
1 parent b44b2fe commit 981f83b

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
@@ -235,7 +235,7 @@ def draw_text_to_canvas(canvas, text, width, height, x_position, y_position, fon
235235
begin
236236
tempTextFile = Tempfile.new()
237237

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

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

0 commit comments

Comments
 (0)