Merge pull request #4260 from warwickmm/remove_unnecessary_path_combine

Remove unnecessary call to Path.Combine
This commit is contained in:
Kenneth Skovhede
2020-08-07 10:31:47 +02:00
committed by GitHub
+1 -1
View File
@@ -32,7 +32,7 @@ namespace Duplicati.UnitTest
// Issue #4148 described a situation where the folders containing the empty file were not recreated properly.
Dictionary<string, string> restoreOptions = new Dictionary<string, string>(this.TestOptions)
{
["restore-path"] = Path.Combine(this.RESTOREFOLDER),
["restore-path"] = this.RESTOREFOLDER,
["dont-compress-restore-paths"] = "true"
};
using (Controller c = new Controller("file://" + this.TARGETFOLDER, restoreOptions, null))