swift-dependencies icon indicating copy to clipboard operation
swift-dependencies copied to clipboard

Use early return in DependencyValues

Open timothycosta opened this issue 1 year ago • 0 comments

This is just a minor cleanup of of DependencyValues.swift to use early return and factor out the warning in order to make it easier to understand the logic of how values get returned.

I hope this sort of PR would be ok. I was browsing the source just because I found this project interesting. I'm not actually using it atm.😅

timothycosta avatar Jan 20 '23 07:01 timothycosta