You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
On Windows, environment variable names are case-insensitive.
In Atom 1.7.0 for Windows, process.env.PATH is returning undefined if the path environment variable is defined as Path (it is then accessible as process.env.Path only).
In 1.6 the environment variable is accessible as both PATH and Path.
Steps to Reproduce
On Windows, ensure your path environment variable (%PATH%) is defined as Path (not PATH as is customary on UNIX).
Launch Atom and open the dev console (ctrl+alt+I)
Evaluate process.env.PATH.
Expected behavior:process.env.PATH should return the contents of the Path environment variable, regardless of what case its name is spelled in (as in Atom 1.6).
Actual behavior:process.env.PATH evaluates to undefined. Only process.env.Path returns the proper contents of the environment variable.