Skip to content

Conversation

@mxschmitt
Copy link
Contributor

return content;
}
else if (!string.IsNullOrEmpty(path))
else if (!string.IsNullOrEmpty(path) && path != null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is double check of IsNullOrEmpty looks really weird, maybe we can disable the linter check at this lines?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bunch of these when searching for !string.IsNullOrEmpty\(\w+\) && \w+ != null\) - I'll try to follow-up

@mxschmitt mxschmitt merged commit fbbc4f2 into main May 28, 2025
15 checks passed
@mxschmitt mxschmitt deleted the nullable-5 branch May 28, 2025 19:50
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