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;
|
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";
|
||||||
|
|
Loading…
Reference in a new issue