Skip to content

Commit

Permalink
Remove extra newline at the end of the file (#1106)
Browse files Browse the repository at this point in the history
This is a follow up PR (#1103) which introduced extra new line at the end of the file. 
Local testing indicates we added new line at end.
Checked the github io, and it does not bring too many differences.
E.g.
After PR,
https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-template/1.0.9-beta.22/index.html
Before PR,
https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-template/1.0.9-beta.20/index.html
  • Loading branch information
sima-zhu authored Oct 19, 2020
1 parent 370df1b commit db47094
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 @@ -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
}
}
}
Expand Down

0 comments on commit db47094

Please sign in to comment.