We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6a8504 + 8e297ba commit 501896aCopy full SHA for 501896a
RegexReplace/RegexReplace.ps1
@@ -47,7 +47,7 @@ try {
47
Write-Host "Replacing $findRegex with $replaceRegex ($ext)"
48
49
foreach ($path in $inputPaths) {
50
- $setContentParams = @{ Path = $path }
+ $setContentParams = @{ Path = $path; NoNewLine = $true }
51
$getContentParams = @{ Path = $path }
52
53
Write-Host "...in file $path"
0 commit comments