Skip to content

Commit

Permalink
Update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Dec 11, 2023
1 parent 71cfd26 commit 8ca58bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function Set-BicepModuleStatusBadgesTable {
Write-Verbose ($badgesMarkdown | Out-String)

if ($PSCmdlet.ShouldProcess("File in path [$markdownFilePath]", 'Overwrite')) {
Set-Item -Path $markdownFilePath -Value $badgesMarkdown -Force
Set-Item -Path $markdownFilePath -Value ($badgesMarkdown | Out-String) -Force
Write-Verbose "File [$markdownFilePath] updated" -Verbose
}
}
6 changes: 3 additions & 3 deletions utilities/tools/platform/Set-BicepModulesFeatureCSV.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ function Set-BicepModulesFeatureCSV {
Write-Verbose '============'
Write-Verbose ($featuresTable | Out-String)

if ($PSCmdlet.ShouldProcess("File in path [$featuresTable]", 'Overwrite')) {
Set-Item -Path $CSVFilePath -Value $featuresTable -Force
Write-Verbose "File [$featuresTable] updated" -Verbose
if ($PSCmdlet.ShouldProcess("File in path [$CSVFilePath]", 'Overwrite')) {
Set-Item -Path $CSVFilePath -Value ($featuresTable | Out-String) -Force
Write-Verbose "File [$CSVFilePath] updated" -Verbose
}
}

0 comments on commit 8ca58bd

Please sign in to comment.