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

Commit 57cc7c3

Browse files
Changing statment lambdas to expression lambdas
1 parent cbe11a4 commit 57cc7c3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/GitHub.Api/Git/GitClient.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,10 @@ public ITask<ValidateGitInstallResult> ValidateGitInstall(string path)
172172
gitLfsVersionTask.ProcessArguments, environment.RepositoryPath);
173173

174174
return gitVersionTask
175-
.Then((result, version) => { gitVersion = version; })
175+
.Then((result, version) => gitVersion = version)
176176
.Then(gitLfsVersionTask)
177-
.Then((result, version) => {
178-
gitLfsVersion = version;
179-
}).Then(result => {
177+
.Then((result, version) => gitLfsVersion = version)
178+
.Then(result => {
180179
var b = result
181180
&& gitVersion != null
182181
&& gitVersion >= Constants.MinimumGitVersion

0 commit comments

Comments
 (0)