fix(git-provider): Return after successful registration removal
This commit is contained in:
parent
7c6a47bfcb
commit
8d64b1aa9e
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue