Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 95613fe

Browse files
Fixing update bug
1 parent dfb571a commit 95613fe

File tree

1 file changed

+1
-1
lines changed
  • src/UnityExtension/Assets/Editor/GitHub.Unity/UI

1 file changed

+1
-1
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ private void MaybeUpdateData()
205205
if (repositoryCurrentRemote.HasValue)
206206
{
207207
updatedRepoRemote = repositoryCurrentRemote.Value.Name;
208-
if (repositoryCurrentRemote.Value.Url != null)
208+
if (!string.IsNullOrEmpty(repositoryCurrentRemote.Value.Url))
209209
{
210210
updatedRepoUrl = repositoryCurrentRemote.Value.Url;
211211
}

0 commit comments

Comments
 (0)