Skip to content

Commit

Permalink
Issues/fix pr 4165 (#4172)
Browse files Browse the repository at this point in the history
* Fixes testing issue found in PR #4165

* Fixing the save method too...

* Correctly using Path.Combine
  • Loading branch information
Will Strohl authored Oct 11, 2020
1 parent 9d745bf commit 0cc69d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public string GetConfigFile(string configFile)
}
else
{
var doc = File.ReadAllText(Path.Combine(Globals.ApplicationMapPath, "\\", configFile));
var doc = File.ReadAllText(Path.Combine(Globals.ApplicationMapPath, configFile));
return doc;
}
}
Expand Down Expand Up @@ -110,7 +110,7 @@ private static string SaveNonConfig(string document, string filename)
var retMsg = string.Empty;
try
{
var strFilePath = Path.Combine(Globals.ApplicationMapPath, "\\", filename);
var strFilePath = Path.Combine(Globals.ApplicationMapPath, filename);
var existingFileAttributes = FileAttributes.Normal;
if (File.Exists(strFilePath))
{
Expand Down

0 comments on commit 0cc69d6

Please sign in to comment.