Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Don't erase NODE_ENV from environment. - #12028

Merged
lee-dohm merged 1 commit into
atom:masterfrom
Floobits:node_env_fix
Jun 30, 2016
Merged

lee-dohm merged 1 commit into
atom:masterfrom
Floobits:node_env_fix

Conversation

@ggreer

@ggreer ggreer commented Jun 22, 2016

Copy link
Copy Markdown
Contributor

Atom sets NODE_ENV to 'production' earlier, but some code paths can cause it to be un-set. This degrades performance and sometimes crashes React. Fixes #12024.

I've tested this on Linux and macOS, but not Windows.

… earlier, but some code paths can cause it to be un-set. This degrades performance and sometimes crashes React. Fixes atom#12024.
@ggreer

ggreer commented Jun 23, 2016

Copy link
Copy Markdown
Contributor Author

Whoops. Didn't see the style rule about single quotes. Force-pushed a fix.

@ggreer

ggreer commented Jun 23, 2016

Copy link
Copy Markdown
Contributor Author

The build error seems to be a failure to download a dependency.

@winstliu

Copy link
Copy Markdown
Contributor

The failing spec has been notoriously flaky for a while now on Travis and can be safely ignored.

/cc @lee-dohm

@lee-dohm

Copy link
Copy Markdown
Contributor

I have this on my plate to look at. I'll get to it as soon as I can.

@lee-dohm

Copy link
Copy Markdown
Contributor

I got this all tested. It looks good. Thanks for contributing!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants