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

Don't use provider value that may not have been set #1800

Merged
merged 1 commit into from
Aug 3, 2019
Merged

Conversation

3flex
Copy link
Member

@3flex 3flex commented Aug 3, 2019

Should have been done in #1787

Without this change the value can be referenced before it's been set with a value, since it doesn't use the getOrElse() variant.

@3flex 3flex merged commit 856ba05 into master Aug 3, 2019
@3flex 3flex deleted the 3flex-patch-2 branch August 3, 2019 11:06
@arturbosch arturbosch added this to the 1.0.0 milestone Aug 3, 2019
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
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.

3 participants