mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 14:21: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:
parent
94980051b6
commit
2a93218ef9
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue