5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 12:41:41 +00:00

fix: siempre devolver el destino

closes ##10541

closes ##10540

closes ##10539

closes ##10538

closes ##10537

closes ##10536

closes ##10535

closes ##10534

closes ##10533
This commit is contained in:
f 2023-03-20 12:20:50 -03:00
parent 94980051b6
commit 2a93218ef9

View file

@ -65,6 +65,8 @@ class DeployZip < Deploy
# @return [String] # @return [String]
def destination def destination
Rails.root.join('_deploy', site.hostname).realpath.to_s Rails.root.join('_deploy', site.hostname).realpath.to_s
rescue Errno::ENOENT
Rails.root.join('_deploy', site.hostname).to_s
end end
def file def file