mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 18:56:23 +00:00
Merge branch 'deploy-rsync' into panel.sutty.nl
This commit is contained in:
commit
d39f27542e
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ class DeployRsync < Deploy
|
|||
|
||||
# Devolver el destino o lanzar un error si no está configurado
|
||||
def destination
|
||||
values[:destination].tap do |_d|
|
||||
raise ArgumentError, 'destination no está configurado'
|
||||
values[:destination].tap do |d|
|
||||
raise(ArgumentError, 'destination no está configurado') if d.blank?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue