hughsk / envify

:wrench: Selectively replace Node-style environment variables with plain strings.
902 stars 57 forks source link

Ignore computed object #24

Closed zertosh closed 9 years ago

zertosh commented 9 years ago

As in ignore process[env] and ignore process['env']. We should ignore process[env] because that's just wrong (this bug would not manifest itself if there aren't any process.env because it wouldn't match the fast-path regexp test in custom.js). Also, we should ignore process['env'], although correct, it's just too weird to support.

cc: @yoshuawuyts @hughsk

yoshuawuyts commented 9 years ago

Nice!