Remove extra newline at the end of the file (#806)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
This commit is contained in:
parent
07e34c3e4e
commit
43a13e4958
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user