Skip to content

Commit

Permalink
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 f07fc77 commit bbdf16e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/core/src/shared/telemetry/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,14 +302,12 @@ export async function getComputeEnvType(): Promise<EnvType> {
return 'wsl'
} else if (isAutomation()) {
return 'test'
} else if (!env.remoteName) {
return 'local'
} else if (web) {
return 'web'
} else if (env.remoteName) {
return 'remote'
} else {
return 'unknown'
return 'local'
}
}

Expand Down

0 comments on commit bbdf16e

Please sign in to comment.