File tree 1 file changed +4
-3
lines changed
src/client/application/misc 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3
3
4
4
import { inject , injectable } from 'inversify' ;
5
5
import * as querystring from 'querystring' ;
6
+ import { env , UIKind } from 'vscode' ;
6
7
import { IExtensionSingleActivationService } from '../../activation/types' ;
7
8
import { IApplicationEnvironment , IApplicationShell } from '../../common/application/types' ;
8
9
import { JoinMailingListPromptVariants } from '../../common/experiments/groups' ;
@@ -28,9 +29,9 @@ export class JoinMailingListPrompt implements IExtensionSingleActivationService
28
29
29
30
public async activate ( ) : Promise < void > {
30
31
// Only show the prompt if we have never shown it before. True here, means we have
31
- // shown the prompt before.
32
- if ( this . storage . value ) {
33
- return Promise . resolve ( ) ;
32
+ // shown the prompt before. Also do not show the prompt if running in Codespaces.
33
+ if ( this . storage . value || env . uiKind === UIKind ?. Web ) {
34
+ return ;
34
35
}
35
36
36
37
let promptContent : string | undefined ;
You can’t perform that action at this time.
0 commit comments