-
Notifications
You must be signed in to change notification settings - Fork 36.8k
Description
There were reports where when multiple extensions contribute environment, (such as that of $PATH),
the end result was not predictable, and could lead to unexpected scenarios where PATH can be overwritten via extensions, such as after some additions have been made by fnm, leading to 'node' is not recognized for the user.
Investigate where this is coming from, and if this is possible to prevent&resolve:
Planning to investigate:
Environment variable collection code, see if there could be racing condition, overriding scenarios, or potentially come up with special case for things like PATH where it can be constantly dynamically changed throughout dev process.
Perhaps even limiting extensions to calling replace on PATH and only allow prepend.
/cc @Tyriar @connor4312