Skip to content

Return value of environment's variable called "ZXPCMD" if exists#14

Open
Lilipi wants to merge 1 commit intocodearoni:masterfrom
Lilipi:feature/envVariable
Open

Return value of environment's variable called "ZXPCMD" if exists#14
Lilipi wants to merge 1 commit intocodearoni:masterfrom
Lilipi:feature/envVariable

Conversation

@Lilipi
Copy link

@Lilipi Lilipi commented Jul 23, 2019

Otherwise, works as before

@coveralls
Copy link

coveralls commented Jul 23, 2019

Coverage Status

Coverage decreased (-1.7%) to 73.333% when pulling cfb82ff on Lilipi:feature/envVariable into 61c9024 on codearoni:master.

@codearoni
Copy link
Owner

This violates the existing API. It would require a 2.0.0, and I'm not a fan of the nature of the change.

I would rather have something like require('zxp-provider').env return an environment path, or null. Giving the user the ability to fallback to .bin or something else.

@Lilipi
Copy link
Author

Lilipi commented Jul 25, 2019

Hello,
Ok, I will update my PR soon.
Thanks for your feedback

@Lilipi Lilipi force-pushed the feature/envVariable branch from 199a435 to 63a7869 Compare July 25, 2019 08:34
@Lilipi
Copy link
Author

Lilipi commented Jul 25, 2019

PR updated as suggested.

Thanks

@Lilipi Lilipi force-pushed the feature/envVariable branch from 63a7869 to a57f143 Compare July 26, 2019 13:31
@Lilipi Lilipi force-pushed the feature/envVariable branch 2 times, most recently from 6db6d44 to cfb82ff Compare July 26, 2019 13:34
@Lilipi
Copy link
Author

Lilipi commented Mar 7, 2022

Hi @codearoni,
Any news about this please ?
I always need it 😃
Thanks

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.

3 participants