Skip to content

Commit

Permalink
fixup! fixup! telemetry: computeEnv reports "wsl" for all remote envs
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmk3 committed Mar 10, 2025
1 parent bbdf16e commit 0843f6a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/core/src/shared/telemetry/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ export type EnvType =
| 'sagemaker'
| 'sagemaker-web'
| 'test'
| 'unknown'
| 'remote' // Generic (unknown) remote env.
| 'web' // Generic (unknown) web env.
| 'wsl'
Expand Down Expand Up @@ -305,9 +304,9 @@ export async function getComputeEnvType(): Promise<EnvType> {
} else if (web) {
return 'web'
} else if (env.remoteName) {
return 'remote'
return 'remote' // Generic (unknown) remote env.
} else {
return 'local'
return 'local' // Generic (unknown) local env.
}
}

Expand Down

0 comments on commit 0843f6a

Please sign in to comment.