From a8db0be0c08491957a7da706c032ca6e8e083f30 Mon Sep 17 00:00:00 2001 From: Martin Wiethan <47688561+Marterich@users.noreply.github.com> Date: Wed, 10 Jul 2024 14:03:18 +0200 Subject: [PATCH] Update Comment to reflect the code Co-authored-by: Mr.k --- Compile.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compile.ps1 b/Compile.ps1 index a18e1958..e5399475 100644 --- a/Compile.ps1 +++ b/Compile.ps1 @@ -56,7 +56,7 @@ Get-ChildItem .\config | Where-Object {$psitem.extension -eq ".json"} | ForEach- # Replace every XML Special Character so it'll render correctly in final build # Only do so if json files has content to be displayed (for example the applications, tweaks, features json files) - # Some Type Convertion using Casting and Cleaning Up of the convertion result using 'Replace' Method + # Make an Array List containing every name at first level of Json File $jsonAsObject = $json | convertfrom-json $firstLevelJsonList = [System.Collections.ArrayList]::new() $jsonAsObject.PSObject.Properties.Name | ForEach-Object {$null = $firstLevelJsonList.Add($_)}