Skip to content

Change the environment detection to use a config setting#2

Open
ksakhamuri wants to merge 1 commit intomarcelog:masterfrom
ksakhamuri:fix_test_env_detection
Open

Change the environment detection to use a config setting#2
ksakhamuri wants to merge 1 commit intomarcelog:masterfrom
ksakhamuri:fix_test_env_detection

Conversation

@ksakhamuri
Copy link

The change definitely works for the tests and also for the release build. So, hopefully, this is a good enough change.

@marcelog
Copy link
Owner

marcelog commented Jun 5, 2016

Hi @ksakhamuri, thanks for the contribution!

I'm not sure that I agree on adding yet another option (and moreover in naming it "mix_env"). The solution should look more like checking if Mix is somehow there, and then try to or avoid to use Mix.env. Otherwise besides specifying the environment variable MIX_ENV, one should also duplicate this config in the new :mix_env option.

Makes sense?

kiere pushed a commit to kiere/elixir_authorizenet that referenced this pull request Feb 26, 2019
…ransaction

Create customer profile from transaction
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.

2 participants