From 9f0f43564adcb254c762e2b1327908751cc97ad3 Mon Sep 17 00:00:00 2001 From: Leonard Jonathan Oh Date: Tue, 12 Sep 2023 15:21:55 +0000 Subject: [PATCH] Refactor: Pipe to `ConvertFrom-Json` in `VARIANTS.ps1` --- generate/definitions/VARIANTS.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate/definitions/VARIANTS.ps1 b/generate/definitions/VARIANTS.ps1 index ee69056..1763b80 100755 --- a/generate/definitions/VARIANTS.ps1 +++ b/generate/definitions/VARIANTS.ps1 @@ -1,4 +1,4 @@ -$local:VERSIONS = ConvertFrom-Json (Get-Content $PSScriptRoot/versions.json -Encoding utf8 -raw) +$local:VERSIONS = @( Get-Content $PSScriptRoot/versions.json -Encoding utf8 -raw | ConvertFrom-Json ) # Docker image variants' definitions $local:VARIANTS_MATRIX = @(