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
On this line in command.js this.options.env is assigned process.env. Immediately afterwards this.options.env.PATH is modified. As process.env wasn't defensively copied when it was assigned this modifies the global process.env.PATH. So if you check process.env.PATH at the end of a gulp run it'll be full of other crap. And because of where this happens this problem applies just by defining your tasks, they don't even need to be run.
When defaulting options.env it should shallow copy process.env.
The text was updated successfully, but these errors were encountered:
On this line in command.js
this.options.env
is assignedprocess.env
. Immediately afterwardsthis.options.env.PATH
is modified. Asprocess.env
wasn't defensively copied when it was assigned this modifies the globalprocess.env.PATH
. So if you checkprocess.env.PATH
at the end of a gulp run it'll be full of other crap. And because of where this happens this problem applies just by defining your tasks, they don't even need to be run.When defaulting
options.env
it should shallow copyprocess.env
.The text was updated successfully, but these errors were encountered: