File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/toolkit/src/shared/telemetry Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,12 @@ type EnvType =
96
96
| 'cloud9'
97
97
| 'cloud9-codecatalyst'
98
98
| 'amazon-cloud9'
99
- | 'cloud9-ec2'
100
99
| 'codecatalyst'
101
100
| 'local'
102
101
| 'ec2'
103
102
| 'sagemaker'
104
103
| 'test'
105
- | 'other '
104
+ | 'unknown '
106
105
107
106
export function getComputeEnvType ( ) : EnvType {
108
107
if ( isCloud9 ( 'classic' ) ) {
@@ -111,8 +110,6 @@ export function getComputeEnvType(): EnvType {
111
110
return 'cloud9-codecatalyst'
112
111
} else if ( isInDevEnv ( ) ) {
113
112
return 'codecatalyst'
114
- } else if ( isCn ( ) ) {
115
- return 'amazon-cloud9'
116
113
} else if ( isSageMaker ( ) ) {
117
114
return 'sagemaker'
118
115
} else if ( env . remoteName === 'ssh-remote' && ! isInDevEnv ( ) ) {
@@ -122,7 +119,7 @@ export function getComputeEnvType(): EnvType {
122
119
} else if ( ! env . remoteName ) {
123
120
return 'local'
124
121
} else {
125
- return 'other '
122
+ return 'unknown '
126
123
}
127
124
}
128
125
You can’t perform that action at this time.
0 commit comments