Skip to content

Commit 5b7b9ce

Browse files
committed
fixes isMaybeConnected to let it return undefined when the value is unknown
1 parent ff2a35c commit 5b7b9ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plus/integrations/integrationService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,9 +1010,9 @@ export class IntegrationService implements Disposable {
10101010
return this.getMyPullRequestsCore(integrations);
10111011
}
10121012

1013-
isMaybeConnected(remote: GitRemote): boolean {
1013+
isMaybeConnected(remote: GitRemote): boolean | undefined {
10141014
if (remote.provider?.id != null && this.supports(remote.provider.id)) {
1015-
return this.getByRemoteCached(remote)?.maybeConnected ?? false;
1015+
return this.getByRemoteCached(remote)?.maybeConnected;
10161016
}
10171017
return false;
10181018
}

0 commit comments

Comments
 (0)