fix(git-provider): Return after successful registration removal

This commit is contained in:
Scott 2026-08-26 13:30:18 +10:00
commit 8d64b1aa9e

View file

@ -155,6 +155,7 @@ public class GitManager
if (_registrations.TryRemove(registrationName, out var removedItem))
{
_debugWriterDelegate?.Invoke($"Removed {registrationName}.");
return;
}
// Weird error to throw, but by this stage we shouldn't have a git repo registered under this name