From 37f969fb4a621d0fbf455082f34faed902fbd19e Mon Sep 17 00:00:00 2001 From: Leonard Jonathan Oh Date: Sat, 16 Sep 2023 10:32:35 +0000 Subject: [PATCH] Remove `ConvertFrom-Json -Depth` --- Generate-GitBranches.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Generate-GitBranches.ps1 b/Generate-GitBranches.ps1 index ad8d10ff..53af5807 100644 --- a/Generate-GitBranches.ps1 +++ b/Generate-GitBranches.ps1 @@ -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 } }