Remove extra newline at the end of the file (#806)

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
This commit is contained in:
Azure SDK Bot 2020-10-19 12:56:56 -07:00 committed by GitHub
parent 07e34c3e4e
commit 43a13e4958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,7 +208,7 @@ function Upload-Blobs
$fileContent = Get-Content -Path $htmlFile -Raw
$updatedFileContent = $fileContent -replace $RepoReplaceRegex, "`${1}$ReleaseTag"
if ($updatedFileContent -ne $fileContent) {
Set-Content -Path $htmlFile -Value $updatedFileContent
Set-Content -Path $htmlFile -Value $updatedFileContent -NoNewLine
}
}
}