Revert "Improve comment"

This reverts commit b9d5e2c12e.
This commit is contained in:
Sergio Padrino 2021-01-07 17:49:43 +01:00
parent b9d5e2c12e
commit b3c211b9b9

View file

@ -1822,8 +1822,8 @@ export class AppStore extends TypedBaseStore<IAppState> {
newRepository: Repository | CloningRepository | null newRepository: Repository | CloningRepository | null
) { ) {
if (oldRepository && newRepository) { if (oldRepository && newRepository) {
// If both are GitHub repositories, check if the workflow preferences // If this is a GitHub repository, check if the workflow preferences
// are different too. // changed too.
if ( if (
oldRepository instanceof Repository && oldRepository instanceof Repository &&
isRepositoryWithGitHubRepository(oldRepository) && isRepositoryWithGitHubRepository(oldRepository) &&