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

Minor Refactor for tfstructs.GetDiagnostics #66

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AubreySLavigne
Copy link
Contributor

These changes improve the cyclomatic complexity from 39 to 25, so there is definitely room for improvement, but this is intending help readability for the GetDiagnostics function

This commit reduces the size of the GetDiagnostics function almost by
half, which should improve readability and make it more apparent what
the function is doing
@awilkins
Copy link
Contributor

Hi!

I noticed your PR and think it will conflict with #80

Maybe you could work the same logic into your PR?

@AubreySLavigne
Copy link
Contributor Author

Thanks for the heads up. I'll take a look at that.

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.

None yet

2 participants