File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -489,8 +489,10 @@ export class FolderRepositoryManager extends Disposable {
489489 const activeRemotes = await this . getActiveRemotes ( ) ;
490490 const isAuthenticated = this . checkForAuthMatch ( activeRemotes ) ;
491491 if ( this . credentialStore . isAnyAuthenticated ( ) && ( activeRemotes . length === 0 ) ) {
492- const areAllNeverGitHub = ( await this . computeAllUnknownRemotes ( ) ) . every ( remote => GitHubManager . isNeverGitHub ( vscode . Uri . parse ( remote . normalizedHost ) . authority ) ) ;
493- if ( areAllNeverGitHub ) {
492+ const allUnknownRemotes = await this . computeAllUnknownRemotes ( ) ;
493+ const areAllNeverGitHub = allUnknownRemotes . every ( remote => GitHubManager . isNeverGitHub ( vscode . Uri . parse ( remote . normalizedHost ) . authority ) ) ;
494+ if ( ( allUnknownRemotes . length > 0 ) && areAllNeverGitHub ) {
495+ Logger . appendLine ( 'No GitHub remotes found and all remotes are marked as never GitHub.' , this . id ) ;
494496 this . state = ReposManagerState . RepositoriesLoaded ;
495497 return true ;
496498 }
You can’t perform that action at this time.
0 commit comments