diff --git a/github.ps1 b/github.ps1 index 5e8bb594..31c2ac01 100644 --- a/github.ps1 +++ b/github.ps1 @@ -200,7 +200,7 @@ function Set-Pull-Request-Expected-Labels { if ($config) { WRite-Host "Reading mapping from $config" - $mapping = (Get-Content $config | ConvertFrom-Json) + $mapping = (Get-Content $config | ConvertFrom-Json -AsHashtable) } else { $mapping = @{} $mapping.Add('!', 'breaking-change')