Use SparkleHelpers.CombineMore instead of Path.Combine
This commit is contained in:
parent
97dc22ff72
commit
fed323530f
|
@ -908,7 +908,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" +
|
||||
|
@ -934,7 +934,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