We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 582b970 commit a6c1bb9Copy full SHA for a6c1bb9
src/shared/telemetry/util.ts
@@ -92,10 +92,9 @@ export async function getUserAgent(
92
return pairs.join(' ')
93
}
94
95
-// Although this is similair to getEnvType() in authUtil files, added new.
96
-// auth util can be upadate to get ComputeEnv
+type EnvType = 'classic' | 'codecatalyst' | ...
97
98
-export function getComputeEnvType() {
+export function getComputeEnvType(): EnvType {
99
// Compute ENV could be one of the following
100
// "cloud9"|"cloud9-codecatalyst"|"cloud9-ec2"|"codecatalyst"|"ec2"|"local"|"sagemaker"|"ssh"|"test"|"web"|"wsl"|"other"|string;
101
0 commit comments