From 5b03b45df9a7d64985345f6bf7762ba7d7f33638 Mon Sep 17 00:00:00 2001 From: Parth Aggarwal Date: Fri, 27 Mar 2026 16:34:28 -0700 Subject: [PATCH] Fix orphaned else in update-c-build-tools-yaml-refs Remove duplicate else block at line 301 that was not paired with any if. The block was unreachable dead code causing a PowerShell parse error when the function was executed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- update_deps/helper_scripts/git_operations.ps1 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/update_deps/helper_scripts/git_operations.ps1 b/update_deps/helper_scripts/git_operations.ps1 index c064246..db045d4 100644 --- a/update_deps/helper_scripts/git_operations.ps1 +++ b/update_deps/helper_scripts/git_operations.ps1 @@ -298,10 +298,6 @@ function update-c-build-tools-yaml-refs } } } - else - { - # could not determine SHA, skip YAML updates - } } else {