Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 976a47e

Browse files
committed
Handle null ActiveRepositories.
1 parent b2c3be2 commit 976a47e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.TeamFoundation.14/Services/VSGitExt.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ private set
127127
{
128128
if (value != activeRepositories)
129129
{
130-
log.Debug("ActiveRepositories changed to {Repositories}", value.Select(x => x.CloneUrl));
130+
log.Debug("ActiveRepositories changed to {Repositories}", value?.Select(x => x.CloneUrl));
131131
activeRepositories = value;
132132
ActiveRepositoriesChanged?.Invoke();
133133
}

0 commit comments

Comments
 (0)