Conversation
This was caused by a new rule `for_where` in the latest version of SwiftLint.
aboedo
reviewed
Jul 27, 2022
| if unsyncedAttributes[key]?.value == attribute.value { | ||
| unsyncedAttributes[key]?.isSynced = true | ||
| } | ||
| for (key, attribute) in attributesToSync where unsyncedAttributes[key]?.value == attribute.value { |
Member
There was a problem hiding this comment.
this is pretty cool, I didn't know you could do it
Contributor
Author
There was a problem hiding this comment.
I think it's kinda silly, way to make the language more complex for no reason 😅
Merged
NachoSoto
added a commit
that referenced
this pull request
Aug 1, 2022
### Fixes: * `CustomerInfoResponseHandler`: return `CustomerInfo` instead of error if the response was successful (#1778) via NachoSoto (@NachoSoto) * Error logging: `logErrorIfNeeded` no longer prints message if it's the same as the error description (#1776) via NachoSoto (@NachoSoto) * fix another broken link in docC docs (#1777) via aboedo (@aboedo) * fix links to restorePurchase (#1775) via aboedo (@aboedo) * fix getProducts docs broken link (#1772) via aboedo (@aboedo) ### Improvements: * `Logger`: wrap `message` in `@autoclosure` to avoid creating when `LogLevel` is disabled (#1781) via NachoSoto (@NachoSoto) ### Other changes: * Lint: fixed `SubscriberAttributesManager` (#1774) via NachoSoto (@NachoSoto)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This was caused by a new rule
for_wherein the latest version of SwiftLint.