◐ Shell
clean mode source ↗

Refactoring RepositoryForm Validators by StanleyGoldman · Pull Request #2395 · github/VisualStudio

Looking at the code, I can't see where we're using the connection or account for validation. I wonder if once upon a time we were checking for an existing repository with the same name as part of the validation? It looks like this check is now done and the error surfaced when the user attempts to create the repository.

I think we might be able to simplify this to use just the repositoryName. I'm wondering if the buggy code was actually completely obsolete. ;-)