Skip to content

refactor: simplify boolean comparison expression#129

Merged
StuartFerguson merged 2 commits intomainfrom
deepsource-autofix-553dfe9e
Sep 18, 2025
Merged

refactor: simplify boolean comparison expression#129
StuartFerguson merged 2 commits intomainfrom
deepsource-autofix-553dfe9e

Conversation

@deepsource-autofix
Copy link
Copy Markdown
Contributor

This PR refactors a redundant boolean comparison to improve code conciseness and readability.

  • Consider simplifying the boolean comparison expression for concision: The code originally used errors.Any() == true, which is an unnecessary comparison. We replaced it with the direct call errors.Any(), removing the redundant == true check and making the conditional more straightforward.

This Autofix was generated by AI. Please review the change before merging.

This PR refactors a redundant boolean comparison to improve code conciseness and readability.

- Consider simplifying the boolean comparison expression for concision: The code originally used `errors.Any() == true`, which is an unnecessary comparison. We replaced it with the direct call `errors.Any()`, removing the redundant `== true` check and making the conditional more straightforward.

> This Autofix was generated by AI. Please review the change before merging.
@deepsource-io
Copy link
Copy Markdown

deepsource-io Bot commented Sep 18, 2025

Here's the code health analysis summary for commits 5b5c127..e5c5753. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource C# LogoC#✅ Success
🎯 1 occurence resolved
View Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗
DeepSource SQL LogoSQL✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@StuartFerguson StuartFerguson merged commit 63ca34f into main Sep 18, 2025
11 checks passed
@github-actions github-actions Bot deleted the deepsource-autofix-553dfe9e branch November 18, 2025 00:58
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.

1 participant