mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-18 14:46:21 +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:
parent
93b005ca07
commit
fd46157e28
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ class DeployZip < Deploy
|
|||
# @return [String]
|
||||
def destination
|
||||
Rails.root.join('_deploy', site.hostname).realpath.to_s
|
||||
rescue Errno::ENOENT
|
||||
Rails.root.join('_deploy', site.hostname).to_s
|
||||
end
|
||||
|
||||
def file
|
||||
|
|
Loading…
Reference in a new issue