Refactor string substitution

This commit is contained in:
Manuel Thalmann 2023-07-02 21:49:00 +02:00
parent d13527be19
commit 6e9ce12a41

View file

@ -237,8 +237,8 @@ class Context {
Measure-Object -Maximum).Maximum + 1; Measure-Object -Maximum).Maximum + 1;
$configName = "Folders"; $configName = "Folders";
$localPath = $localPath -replace "\","/"; $localPath = $localPath.Replace("\", "/");
$targetPath = $targetPath -replace "\","/"; $targetPath = $targetPath.Replace("\", "/");
if ($virtualFiles) { if ($virtualFiles) {
$configName += "WithPlaceholders"; $configName += "WithPlaceholders";