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

Make new require.extensions values still writeable #3

Merged
merged 1 commit into from Oct 23, 2015
Merged

Make new require.extensions values still writeable #3

merged 1 commit into from Oct 23, 2015

Conversation

maxkorp
Copy link
Contributor

@maxkorp maxkorp commented Oct 23, 2015

Having these not be writeable causes errors in test land between electron-compile and some utilities like proxyquire and istanbul, since they attempt to temporarily overwrite those values. This makes it so they can be rewritten as necessary. Such that electron-compile won't have to be the only module allowed to load stuff or be forced to be the last loader registered

anaisbetts added a commit that referenced this pull request Oct 23, 2015
Make new require.extensions values still writeable
@anaisbetts anaisbetts merged commit f663f71 into electron-archive:master Oct 23, 2015
@anaisbetts
Copy link
Contributor

Thanks @maxkorp!

@maxkorp maxkorp deleted the writeable-extensions branch October 23, 2015 22:06
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.

None yet

2 participants