Use SparkleHelpers.CombineMore instead of Path.Combine
This commit is contained in:
parent
de35d20f14
commit
58213af5b4
|
@ -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