mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-08 14:28:57 +02:00
[Nostromo] If user is not defined, get current running user
This commit is contained in:
@@ -37,7 +37,7 @@ class CopyTask extends AbstractTask
|
||||
throw new DeploymentException('This task is only available with releases enabled', 40);
|
||||
}
|
||||
|
||||
$user = $this->runtime->getEnvironmentConfig('user');
|
||||
$user = $this->runtime->getEnvironmentConfig('user', $this->runtime->getCurrentUser());
|
||||
$host = $this->runtime->getWorkingHost();
|
||||
$sshConfig = $sshConfig = $this->runtime->getSSHConfig();
|
||||
$hostPath = rtrim($this->runtime->getEnvironmentConfig('host_path'), '/');
|
||||
|
||||
Reference in New Issue
Block a user