Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Make applicationConfigHome failures catchable #68

Merged
merged 3 commits into from
Oct 11, 2021

Conversation

sigurdm
Copy link
Contributor

@sigurdm sigurdm commented Oct 7, 2021

It is not always possible to resolve any environment variables - but we still might want to query for the directory if it exists.

We could also make applicationConfigHome return a nullable result - but that would be a breaking change, and perhaps this case is better thought of as an exceptional condition.

See: dart-lang/pub#3167 for context.

@sigurdm sigurdm requested a review from jonasfj October 7, 2021 13:47
@google-cla google-cla bot added the cla: yes label Oct 7, 2021
@sigurdm sigurdm merged commit 71ba36e into master Oct 11, 2021
@kevmoo kevmoo deleted the allow_catching_applicationConfigHome_failure branch February 24, 2023 22:32
mosuem pushed a commit to dart-lang/tools that referenced this pull request Oct 25, 2024
It is not always possible to resolve any environment variables - but we still might want to query for the directory if it exists.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

2 participants