From f6071fca372773c7936b1a07797e53341949cb86 Mon Sep 17 00:00:00 2001 From: stijnmoreels <9039753+stijnmoreels@users.noreply.github.com> Date: Fri, 3 Dec 2021 09:56:53 +0100 Subject: [PATCH] pr-fix: update to warning and not stop the script --- .../Scripts/Inject-ArmContent.ps1 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Arcus.Scripting.ARM/Scripts/Inject-ArmContent.ps1 b/src/Arcus.Scripting.ARM/Scripts/Inject-ArmContent.ps1 index 3b3f7e3d..f1a60157 100644 --- a/src/Arcus.Scripting.ARM/Scripts/Inject-ArmContent.ps1 +++ b/src/Arcus.Scripting.ARM/Scripts/Inject-ArmContent.ps1 @@ -57,7 +57,7 @@ function InjectFile { if ($instructionParts.Length -gt 1) { $optionParts = $instructionParts | select -Skip 1 - if ($optionParts.Contains("ReplaceSpecialChars")){ + if ($optionParts.Contains("ReplaceSpecialChars")) { Write-Host "`t Replacing special characters" # Replace newline characters with literal equivalents @@ -81,21 +81,21 @@ function InjectFile { $newString = $newString -replace '(?