[BUGFIX] [Issue#405] Malformed ssh command when defining host:port notation

This commit is contained in:
Andrés Montañez
2018-03-29 17:33:20 -03:00
parent bab5e164a5
commit 4232059d7e
11 changed files with 165 additions and 7 deletions
+2 -2
View File
@@ -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) {