Refactor string substitution
This commit is contained in:
parent
78a296fdf1
commit
7361eb583a
1 changed files with 2 additions and 2 deletions
|
@ -237,8 +237,8 @@ class Context {
|
|||
Measure-Object -Maximum).Maximum + 1;
|
||||
|
||||
$configName = "Folders";
|
||||
$localPath = $localPath -replace "\","/";
|
||||
$targetPath = $targetPath -replace "\","/";
|
||||
$localPath = $localPath.Replace("\", "/");
|
||||
$targetPath = $targetPath.Replace("\", "/");
|
||||
|
||||
if ($virtualFiles) {
|
||||
$configName += "WithPlaceholders";
|
||||
|
|
Loading…
Reference in a new issue