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
) {
if (oldRepository && newRepository) {
// If both are GitHub repositories, check if the workflow preferences
// are different too.
// If this is a GitHub repository, check if the workflow preferences
// changed too.
if (
oldRepository instanceof Repository &&
isRepositoryWithGitHubRepository(oldRepository) &&