Skip to content

Commit 676f3f1

Browse files
committed
fix formatting
1 parent 7508d81 commit 676f3f1

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

DSCResources/DSR_KeyValuePairFile/DSR_KeyValuePairFile.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ function Set-TargetResource
288288

289289
$fileProperties.Add('Value', $fileContent)
290290

291-
Set-Content @FileProperties
291+
Set-Content @fileProperties
292292
}
293293

294294
<#

DSCResources/DSR_ReplaceText/DSR_ReplaceText.psm1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function Set-TargetResource
158158
$fileContent = Get-Content -Path $Path -Raw -ErrorAction SilentlyContinue
159159
$fileEncoding = Get-FileEncoding $Path
160160

161-
$fileproperties = @{
161+
$fileProperties = @{
162162
Path = $Path
163163
NoNewline = $true
164164
Force = $true
@@ -184,7 +184,7 @@ function Set-TargetResource
184184
$Path, $Text)
185185

186186
# Add encoding parameter and value to the hashtable
187-
$fileproperties.Add('Encoding', $Encoding)
187+
$fileProperties.Add('Encoding', $Encoding)
188188
}
189189
}
190190

@@ -204,9 +204,9 @@ function Set-TargetResource
204204
$fileContent = $fileContent -Replace $Search, $Text
205205
}
206206

207-
$fileproperties.Add('Value', $fileContent)
207+
$fileProperties.Add('Value', $fileContent)
208208

209-
Set-Content @fileproperties
209+
Set-Content @fileProperties
210210
}
211211

212212
<#

0 commit comments

Comments
 (0)