Skip to content

Commit

Permalink
Remove ConvertFrom-Json -Depth
Browse files Browse the repository at this point in the history
  • Loading branch information
leojonathanoh committed Sep 16, 2023
1 parent c3c7cca commit 37f969f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Generate-GitBranches.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (!$TargetRepoPath) {
}

# Get games
$games = Get-Content $PSScriptRoot/games.json -Encoding utf8 -Force | ConvertFrom-Json -Depth 100 -AsHashtable
$games = Get-Content $PSScriptRoot/games.json -Encoding utf8 -Force | ConvertFrom-Json -AsHashtable
if ($GamePlatform) {
$games = $games | ? { $_['game_platform'] -eq $GamePlatform }
}
Expand Down

0 comments on commit 37f969f

Please sign in to comment.