Make the build tests happy: remove blank lines

This commit is contained in:
Samantaz Fox 2021-03-11 03:46:17 +00:00
parent b86476410f
commit 3de39698dd

View file

@ -371,7 +371,6 @@ def fetch_playlist(plid, locale)
title = playlist_info["title"]?.try &.["runs"][0]?.try &.["text"]?.try &.as_s || "" title = playlist_info["title"]?.try &.["runs"][0]?.try &.["text"]?.try &.as_s || ""
desc_item = playlist_info["description"]? desc_item = playlist_info["description"]?
description_txt = desc_item.try &.["runs"]?.try &.as_a description_txt = desc_item.try &.["runs"]?.try &.as_a
@ -380,7 +379,6 @@ def fetch_playlist(plid, locale)
description_html = desc_item.try &.["runs"]?.try &.as_a description_html = desc_item.try &.["runs"]?.try &.as_a
.try { |run| content_to_comment_html(run).try &.to_s } || "<p></p>" .try { |run| content_to_comment_html(run).try &.to_s } || "<p></p>"
thumbnail = playlist_info["thumbnailRenderer"]?.try &.["playlistVideoThumbnailRenderer"]? thumbnail = playlist_info["thumbnailRenderer"]?.try &.["playlistVideoThumbnailRenderer"]?
.try &.["thumbnail"]["thumbnails"][0]["url"]?.try &.as_s .try &.["thumbnail"]["thumbnails"][0]["url"]?.try &.as_s