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

Commit 131e229

Browse files
committed
🎨 Prettify statements
1 parent edfc910 commit 131e229

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/GitHub.Exports.Reactive/Extensions/ConnectionManagerExtensions.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,17 @@ public static IObservable<bool> IsLoggedIn(this IConnectionManager cm, IReposito
1212
{
1313
return cm.Connections.ToObservable()
1414
.SelectMany(c => c.Login())
15-
.Select(c => hosts.LookupHost(c.HostAddress)).Any(h => h.IsLoggedIn);
15+
.Select(c => hosts.LookupHost(c.HostAddress))
16+
.Any(h => h.IsLoggedIn);
1617
}
1718

1819
public static IObservable<bool> IsLoggedIn(this IConnectionManager cm, IRepositoryHosts hosts, HostAddress address)
1920
{
2021
return cm.Connections.ToObservable()
2122
.Where(c => c.HostAddress.Equals(address))
2223
.SelectMany(c => c.Login())
23-
.Select(c => hosts.LookupHost(c.HostAddress)).Any(h => h.IsLoggedIn);
24+
.Select(c => hosts.LookupHost(c.HostAddress))
25+
.Any(h => h.IsLoggedIn);
2426
}
2527
}
2628
}

0 commit comments

Comments
 (0)