Skip to content
This repository has been archived by the owner on Apr 30, 2018. It is now read-only.

fix: can't redefine process.env when node<4 #9

Merged
merged 2 commits into from
Jun 12, 2016
Merged

Conversation

popomore
Copy link
Collaborator

@popomore popomore changed the title fix: can't redefine process.env when node<4 WIP: fix: can't redefine process.env when node<4 Jun 12, 2016
@popomore popomore changed the title WIP: fix: can't redefine process.env when node<4 fix: can't redefine process.env when node<4 Jun 12, 2016
cache.set(obj, flag);
}
flag.add(key);

// Can't not delete the property of process.env before node@4
if (obj === process.env) {
obj[key] = method;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed this condition

@fent fent merged commit c529615 into master Jun 12, 2016
@fent
Copy link
Owner

fent commented Jun 12, 2016

Sweet

@popomore popomore deleted the fix-restore-process-env branch June 12, 2016 14:27
@popomore
Copy link
Collaborator Author

0.5.1

fent added a commit that referenced this pull request Jan 13, 2018
fix: can't redefine process.env when node<4
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants