Skip to content

Commit 84286cd

Browse files
build: do not add newline to autoupdated files (#731)
1 parent 2d3f49a commit 84286cd

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

codegen/generator/src/OpenAI.Library.Plugin.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,3 @@
2222
</Target>
2323

2424
</Project>
25-
26-
27-
28-
29-

scripts/Submit-GeneratorUpdatePr.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ try {
176176
if (Test-Path $openAiCsprojPath) {
177177
$openAiCsproj = Get-Content $openAiCsprojPath -Raw
178178
$openAiCsproj = $openAiCsproj -replace '(<PackageReference Include="Microsoft\.TypeSpec\.Generator\.ClientModel" Version=")[^"]*(")', "`${1}$PackageVersion`${2}"
179-
Set-Content -Path $openAiCsprojPath -Value $openAiCsproj
179+
Set-Content -Path $openAiCsprojPath -Value $openAiCsproj -NoNewline
180180
Write-Log "Updated OpenAI csproj: $openAiCsprojPath"
181181
} else {
182182
Write-Warning-Log "OpenAI csproj not found at: $openAiCsprojPath"

0 commit comments

Comments
 (0)