Skip to content

Commit

Permalink
Refactor: Pipe to ConvertFrom-Json in VARIANTS.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
leojonathanoh committed Sep 12, 2023
1 parent 8e3f5a2 commit 9f0f435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate/definitions/VARIANTS.ps1
Original file line number Diff line number Diff line change
@@ -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 = @(
Expand Down

0 comments on commit 9f0f435

Please sign in to comment.