Skip to content

Commit

Permalink
Merge pull request #99 from theohbrothers/refactor/pipe-to-convertfro…
Browse files Browse the repository at this point in the history
…m-json-in-a-variants.ps1

Refactor: Pipe to `ConvertFrom-Json` in `VARIANTS.ps1`
  • Loading branch information
leojonathanoh authored Sep 12, 2023
2 parents 8e3f5a2 + 9f0f435 commit d6f2119
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 d6f2119

Please sign in to comment.