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

Commit e54fef8

Browse files
GitName and GitEmail might be null themselves
1 parent e61025b commit e54fef8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/ApplicationCache.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ public string Name
10581058

10591059
Logger.Trace("Updating: {0} Name:{1}", now, value);
10601060

1061-
if (!gitName.Equals(value))
1061+
if (gitName != value)
10621062
{
10631063
gitName = value;
10641064
isUpdated = true;
@@ -1082,7 +1082,7 @@ public string Email
10821082

10831083
Logger.Trace("Updating: {0} Email:{1}", now, value);
10841084

1085-
if (!gitEmail.Equals(value))
1085+
if (gitEmail != value)
10861086
{
10871087
gitEmail = value;
10881088
isUpdated = true;

0 commit comments

Comments
 (0)