Skip to content

Commit

Permalink
Switch the content from array to string. (#11896)
Browse files Browse the repository at this point in the history
Co-authored-by: Sima Zhu <[email protected]>
  • Loading branch information
azure-sdk and sima-zhu authored Oct 19, 2020
1 parent 356d88e commit 41dbbcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/common/scripts/copy-docs-to-blobstorage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ function Upload-Blobs
if ($ReleaseTag) {
foreach ($htmlFile in (Get-ChildItem $DocDir -include *.html -r))
{
$fileContent = Get-Content -Path $htmlFile
$fileContent = Get-Content -Path $htmlFile -Raw
$updatedFileContent = $fileContent -replace $RepoReplaceRegex, "`${1}$ReleaseTag"
if ($updatedFileContent -ne $fileContent) {
Set-Content -Path $htmlFile -Value $updatedFileContent
Expand Down

0 comments on commit 41dbbcc

Please sign in to comment.