Skip to content

Commit

Permalink
use
Browse files Browse the repository at this point in the history
 for consistencty
  • Loading branch information
dovholuknf committed Oct 8, 2023
1 parent 93912b2 commit 2a2f35c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OpenZiti.NET/update-nuspec.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ $settings = New-Object System.Xml.XmlWriterSettings
$settings.OmitXmlDeclaration = $true
$settings.Indent = $true
$settings.NewLineOnAttributes = $false
$Settings.NewLineChars = "`r`n";

# Create a StreamWriter to write the XML to a file
$filePath = "${PSScriptRoot}\${OutputFile}"
$filePath = "${PSScriptRoot}/${OutputFile}"
$absolutePath = [System.IO.Path]::GetFullPath($filePath)
$streamWriter = [System.IO.StreamWriter]::new($absolutePath)
$xmlWriter = [System.Xml.XmlWriter]::Create($streamWriter, $settings)
Expand Down

0 comments on commit 2a2f35c

Please sign in to comment.