fix a thing
This commit is contained in:
parent
15b973ae78
commit
b5b2bf2b90
@ -18,7 +18,7 @@ module Capistrano
|
|||||||
|
|
||||||
def replace_placeholders(command, channel)
|
def replace_placeholders(command, channel)
|
||||||
command = _replace_placeholders(command, channel)
|
command = _replace_placeholders(command, channel)
|
||||||
command.gsub!('$CAPISTRANO:TARGETHOSTNAME$', channel[:server].options[:target_hostname])
|
command.gsub!('$CAPISTRANO:TARGETHOSTNAME$', channel[:server].options[:target_hostname] || '')
|
||||||
command
|
command
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user