Normalize indentation of app association config

This commit is contained in:
Manuel Thalmann 2023-07-26 17:35:03 +02:00
parent a6d438d9c2
commit 1855ab7e5f

View file

@ -38,7 +38,6 @@ $null = New-Module {
$configFile = New-TemporaryFile; $configFile = New-TemporaryFile;
$writerSettings = [System.Xml.XmlWriterSettings]::new(); $writerSettings = [System.Xml.XmlWriterSettings]::new();
$writerSettings.Indent = $true; $writerSettings.Indent = $true;
$writerSettings.IndentChars = " ";
$writerSettings.Encoding = [System.Text.UTF8Encoding]::new(); $writerSettings.Encoding = [System.Text.UTF8Encoding]::new();
$writer = [System.Xml.XmlWriter]::Create($configFile.FullName, $writerSettings); $writer = [System.Xml.XmlWriter]::Create($configFile.FullName, $writerSettings);
$associations.Save($writer); $associations.Save($writer);