Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant NODE_ENV=test in Makefile #5350

Merged
merged 1 commit into from Feb 22, 2017
Merged

Remove redundant NODE_ENV=test in Makefile #5350

merged 1 commit into from Feb 22, 2017

Conversation

aaronang
Copy link
Member

NODE_ENV=test is exported by default in Makefile. Therefore, targets that set NODE_ENV to test are cleaned up.

Q A
Patch: Bug Fix? no
Major: Breaking Change? no
Minor: New Feature? no
Deprecations? no
Spec Compliancy?
Tests Added/Pass? no
Fixed Tickets
License MIT
Doc PR no
Dependency Changes no

`NODE_ENV=test` is exported by default. Therefore, targets that set `NODE_ENV` to `test` are cleaned up.
@mention-bot
Copy link

@aaronang, thanks for your PR! By analyzing the history of the files in this pull request, we identified @hzoo, @kaicataldo and @danez to be potential reviewers.

@codecov
Copy link

codecov bot commented Feb 20, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@7b63af0). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #5350   +/-   ##
=========================================
  Coverage          ?   89.44%           
=========================================
  Files             ?      204           
  Lines             ?     9949           
  Branches          ?     2689           
=========================================
  Hits              ?     8899           
  Misses            ?     1050           
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b63af0...8d97450. Read the comment docs.

make test-only

test-ci-coverage:
NODE_ENV=test BABEL_ENV=cov make bootstrap
Copy link
Member

Choose a reason for hiding this comment

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

Yeah that is odd, since BABEL_ENV is set here.

const envKey = process.env.BABEL_ENV || process.env.NODE_ENV || "development"; in our code currently

@hzoo hzoo added the PR: Internal 🏠 A type of pull request used for our changelog categories label Feb 21, 2017
@hzoo
Copy link
Member

hzoo commented Feb 22, 2017

Good catch!

@hzoo hzoo merged commit 3a6d85e into babel:master Feb 22, 2017
existentialism pushed a commit that referenced this pull request May 19, 2017
`NODE_ENV=test` is exported by default. Therefore, targets that set `NODE_ENV` to `test` are cleaned up.
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Internal 🏠 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants