-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename resolveShellEnv
to getResolvedShellEnv
#137923
Labels
Milestone
Comments
guibber
pushed a commit
to guibber/vscode
that referenced
this issue
Nov 30, 2021
guibber
pushed a commit
to guibber/vscode
that referenced
this issue
Nov 30, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
When I investigated for #137900, I stumbled across https://github.com/microsoft/vscode/blob/main/src/vs/platform/request/node/requestService.ts#L70.
I worried that
resolveShellEnv
would resolve the env on every request. But in factresolveShellEnv
uses a cached promise so all good.To reflect that I suggest to rename
resolveShellEnv
togetResolvedShellEnv
The text was updated successfully, but these errors were encountered: