diff --git a/Build/4bitcss.build.ps1 b/Build/4bitcss.build.ps1 index a60dd4fa6..91df36d7d 100644 --- a/Build/4bitcss.build.ps1 +++ b/Build/4bitcss.build.ps1 @@ -23,7 +23,7 @@ filter GetCredits { if ($line -notmatch $markdownLinkPattern) { continue } - [Ordered]@{Credit=$Matches.text; Link=$Matches.link} + [Ordered]@{credit=$Matches.text; link=$Matches.link} } } @@ -63,7 +63,7 @@ foreach ($jsonFile in $jsonFiles) { $jsonObject.Name | Convert-4BitName $jsonObject | - Add-Member NoteProperty Credits -Force -PassThru -Value ($colorSchemeName | GetCredits) + Add-Member NoteProperty credits -Force -PassThru -Value @($colorSchemeName | GetCredits) if (-not $colorSchemeFileName) { continue } $distinctColors = @($jsonObject.psobject.Properties.value) -match '^#[0-9a-fA-F]{6}' | Select-Object -Unique