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

Commit 7e0f82f

Browse files
Merge branch 'fixes/git-client-set-user' into enhancements/git-client-cache
2 parents f08fd3c + f47d76f commit 7e0f82f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/GitHub.Api/Git/GitClient.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -272,15 +272,15 @@ public ITask<User> GetConfigUserAndEmail()
272272
}
273273
})
274274
.Then(GetConfig(UserEmailConfigKey, GitConfigSource.User)
275-
.Then((success, value) => {
276-
if (success)
277-
{
278-
email = value;
279-
}
280-
})).Then(success => {
281-
Logger.Trace("{0}:{1} {2}:{3}", UserNameConfigKey, username, UserEmailConfigKey, email);
282-
return new User { Name = username, Email = email };
283-
});
275+
.Then((success, value) => {
276+
if (success)
277+
{
278+
email = value;
279+
}
280+
})).Then(success => {
281+
Logger.Trace("{0}:{1} {2}:{3}", UserNameConfigKey, username, UserEmailConfigKey, email);
282+
return new User { Name = username, Email = email };
283+
});
284284
}
285285

286286
public ITask<User> SetConfigUserAndEmail(string username, string email)

0 commit comments

Comments
 (0)