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

AppContext.BaseDirectory is null on some platforms, Xamarin.Android f… #9

Merged
merged 1 commit into from Oct 30, 2018

Conversation

Projects
None yet
2 participants
@mjjames
Contributor

mjjames commented Oct 29, 2018

Fixes #8
Just added a check for nullorempty before use. Originally i just null checked but empty is the same as the following yield so makes sense to exclude it

AppContext.BaseDirectory is null on some platforms, Xamarin.Android f…
…or example, so check this before we try to use it
@mellinoe

This comment has been minimized.

Owner

mellinoe commented Oct 30, 2018

This looks pretty harmless to me. Thanks for the submission.

@mellinoe mellinoe merged commit 7b4d947 into mellinoe:master Oct 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment