mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 04:51:43 +00:00
fix: quitado espacio sobrante en array #14550
This commit is contained in:
parent
c66a7660c1
commit
3d86ad1fbe
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class DeployDistributedPress < Deploy
|
||||||
# @return [Array]
|
# @return [Array]
|
||||||
def gateway_urls
|
def gateway_urls
|
||||||
remote_info.dig(:distributed_press, :links)&.values&.map do |protocol|
|
remote_info.dig(:distributed_press, :links)&.values&.map do |protocol|
|
||||||
[ protocol[:link]]
|
[protocol[:link]]
|
||||||
end&.flatten&.compact&.select do |link|
|
end&.flatten&.compact&.select do |link|
|
||||||
link.include? '://'
|
link.include? '://'
|
||||||
end || []
|
end || []
|
||||||
|
|
Loading…
Reference in a new issue