Skip to content

Commit 1631817

Browse files
committed
require both codespaces env vars
1 parent abb6338 commit 1631817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/platform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function gitHubCodespacePortForwardingDomain() {
4242
}
4343

4444
export function isGitHubCodespaces() {
45-
return !!gitHubCodespacePortForwardingDomain() || !!gitHubCodespaceName();
45+
return !!gitHubCodespacePortForwardingDomain() && !!gitHubCodespaceName();
4646
}
4747

4848
export function gitHubCodeSpacesProxyUri() {

0 commit comments

Comments
 (0)