Use SparkleHelpers.CombineMore instead of Path.Combine
This commit is contained in:
parent
c0916e5dd4
commit
7822203884
|
@ -963,7 +963,7 @@ namespace SparkleShare {
|
|||
private void DisableHostKeyCheckingForHost (string host)
|
||||
{
|
||||
|
||||
string ssh_config_file_path = Path.Combine
|
||||
string ssh_config_file_path = SparkleHelpers.CombineMore
|
||||
(SparklePaths.HomePath, ".ssh", "config");
|
||||
|
||||
string ssh_config = "Host " + host + "\n" +
|
||||
|
@ -989,7 +989,7 @@ namespace SparkleShare {
|
|||
private void EnableHostKeyCheckingForHost (string host)
|
||||
{
|
||||
|
||||
string ssh_config_file_path = Path.Combine
|
||||
string ssh_config_file_path = SparkleHelpers.CombineMore
|
||||
(SparklePaths.HomePath, ".ssh", "config");
|
||||
|
||||
string ssh_config = "Host " + host + "\n" +
|
||||
|
|
Loading…
Reference in a new issue