mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
code style fix
add command tests
This commit is contained in:
@ -74,11 +74,11 @@ public function connect(bool $sftp = false): void
|
||||
$login = $this->connection->login($this->user, $this->privateKey);
|
||||
|
||||
if (! $login) {
|
||||
throw new SSHAuthenticationError("Error authenticating");
|
||||
throw new SSHAuthenticationError('Error authenticating');
|
||||
}
|
||||
} catch (Throwable $e) {
|
||||
Log::error("Error connecting", [
|
||||
"msg" => $e->getMessage()
|
||||
Log::error('Error connecting', [
|
||||
'msg' => $e->getMessage(),
|
||||
]);
|
||||
throw $e;
|
||||
}
|
||||
|
Reference in New Issue
Block a user