Skip to content

Conversation

saraiva132
Copy link
Contributor

Based on discussion in #302.

@matthiasbeyer I checked Environment and I do not believe it is not designed to support loading single env vars. This is just an example of how the method could look like.

Copy link
Member

@matthiasbeyer matthiasbeyer left a comment

Choose a reason for hiding this comment

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

I think the change is simple enough to be merged, safe the two comments I had. Besides that 👍

Copy link
Member

@matthiasbeyer matthiasbeyer left a comment

Choose a reason for hiding this comment

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

One little nitpick left, I would really appreciate if you could fix this 😄 🙏

@matthiasbeyer
Copy link
Member

Besides the one comment this looks good, feel free to squash (including the change for the comment from above)!

@saraiva132 saraiva132 force-pushed the 302-add-set-override-option branch from 7a80d34 to 1195795 Compare March 21, 2022 09:24
@saraiva132
Copy link
Contributor Author

I failed my squash miserably, can you squash for me on merge ? :) 🙇

@matthiasbeyer matthiasbeyer force-pushed the 302-add-set-override-option branch from 1195795 to da3e483 Compare March 22, 2022 06:40
@matthiasbeyer
Copy link
Member

Not on merge, because squash merging is bad. I rebased for you and pushed to your PR branch.

@matthiasbeyer
Copy link
Member

The CI failure comes from something else, which I fix in #304 - I wil rebase this PR for you after that other fix is merged!

This patch adds ConfigBuilder::set_override_option() to override a
setting from an Option<_>.

Signed-off-by: Matthias Beyer <[email protected]>
@matthiasbeyer matthiasbeyer force-pushed the 302-add-set-override-option branch from da3e483 to be7afe9 Compare March 22, 2022 06:56
@matthiasbeyer matthiasbeyer merged commit 56c148b into rust-cli:master Mar 22, 2022
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