Skip to content

self_update: Ensure profile set on self-update #2050

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

Merged
merged 1 commit into from
Oct 13, 2019

Conversation

kinnison
Copy link
Contributor

Fixes: #2045

This ought to resolve the issue by forcing a profile on self-update. This is sub-optimal long-term but until I've satisfied myself that the potential use-cases for a config with no profile set are no longer relevant I refuse to force Cfg::get_profile() to always return a profile.

@kinnison
Copy link
Contributor Author

If we merge this, I should file an issue to think about if Cfg::get_profile() could be forced to always return Profile::default() if one isn't in the config.

@kinnison
Copy link
Contributor Author

@howaboutsynergy How does this look to you?

@kinnison kinnison merged commit fbcc672 into rust-lang:master Oct 13, 2019
@kinnison kinnison deleted the kinnison/ensure-profile branch October 13, 2019 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant