-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
chore: simplify sync status comparison #21140
chore: simplify sync status comparison #21140
Conversation
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #21140 +/- ##
=========================================
Coverage ? 55.26%
=========================================
Files ? 324
Lines ? 55587
Branches ? 0
=========================================
Hits ? 30722
Misses ? 22241
Partials ? 2624 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for unit tests :)
@agaudreault added tests, PTAL |
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The variables we initialize from the deep copies and then mutate are never used again. I don't think this code does anything.
I also don't think it did anything when it was first written.
As long as tests pass, and no one else spots something I'm missing, I think we can safely remove these lines.