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

Defend against missing directories in vcpkg integrate install. #886

Merged
merged 2 commits into from
Feb 9, 2023

Conversation

BillyONeal
Copy link
Member

get_path_txt_path().value_or_exit(VCPKG_LINE_INFO), paths.root.generic_u8string(), VCPKG_LINE_INFO);
msg::println(Color::success, msgAppliedUserIntegration);
auto maybe_user_configuration_home = get_user_configuration_home();
if (auto user_configuration_home = maybe_user_configuration_home.get())
Copy link
Contributor

Choose a reason for hiding this comment

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

This drops errors on the floor, such as:

"unable to read %LOCALAPPDATA% or %APPDATA%"

@BillyONeal BillyONeal merged commit ec0f7c7 into microsoft:main Feb 9, 2023
@BillyONeal BillyONeal deleted the defend-missing-directories branch February 18, 2023 10:42
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.

vcpkg integrate install stopped working on Linux
2 participants