mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-08 14:28:57 +02:00
[BUGFIX] [Issue#405] Malformed ssh command when defining host:port notation
This commit is contained in:
@@ -61,8 +61,8 @@ abstract class AbstractFileTask extends AbstractTask
|
||||
'%environment%' => $this->runtime->getEnvironment(),
|
||||
];
|
||||
|
||||
if ($this->runtime->getWorkingHost() !== null) {
|
||||
$mapping['%host%'] = $this->runtime->getWorkingHost();
|
||||
if ($this->runtime->getHostName() !== null) {
|
||||
$mapping['%host%'] = $this->runtime->getHostName();
|
||||
}
|
||||
|
||||
if ($this->runtime->getReleaseId() !== null) {
|
||||
|
||||
Reference in New Issue
Block a user