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

Allow different env vars for each command #184

Merged
merged 5 commits into from Feb 23, 2020

Conversation

Coridyn
Copy link
Contributor

@Coridyn Coridyn commented Feb 16, 2019

This allows you to pass different environment variables to each command.

This PR adds an optional env property to the commands object.

The values on the env object take precedence over process.env so it can override any global environment variables that may have been set earlier.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 332

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.004%) to 99.183%

Totals Coverage Status
Change from base Build 331: 0.004%
Covered Lines: 238
Relevant Lines: 238

💛 - Coveralls

1 similar comment
@coveralls
Copy link

Pull Request Test Coverage Report for Build 332

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.004%) to 99.183%

Totals Coverage Status
Change from base Build 331: 0.004%
Covered Lines: 238
Relevant Lines: 238

💛 - Coveralls

@coveralls
Copy link

coveralls commented Feb 16, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling 0e0f8b3 on Coridyn:master into a0cc081 on kimmobrunfeldt:master.

@gustavohenke gustavohenke self-requested a review January 27, 2020 14:24
src/get-spawn-opts.js Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@gustavohenke gustavohenke merged commit af501f3 into open-cli-tools:master Feb 23, 2020
@gustavohenke
Copy link
Member

Published v5.2.0 with this 🚢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants