-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
More issues caught by linter #79
Open
qua3k
wants to merge
17
commits into
mautrix:main
Choose a base branch
from
qua3k:lint
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Jun 14, 2022
-
Fix S1009 issue discovered by linter
nil slices have a length of zero, remove the redundant check
Configuration menu - View commit details
-
Copy full SHA for 03fafa8 - Browse repository at this point
Copy the full SHA 03fafa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cda6823 - Browse repository at this point
Copy the full SHA cda6823View commit details -
Configuration menu - View commit details
-
Copy full SHA for 238fb11 - Browse repository at this point
Copy the full SHA 238fb11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ade3e6 - Browse repository at this point
Copy the full SHA 9ade3e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c54394 - Browse repository at this point
Copy the full SHA 8c54394View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61550bb - Browse repository at this point
Copy the full SHA 61550bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b719312 - Browse repository at this point
Copy the full SHA b719312View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69a16bd - Browse repository at this point
Copy the full SHA 69a16bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69d5b93 - Browse repository at this point
Copy the full SHA 69d5b93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ad32bc - Browse repository at this point
Copy the full SHA 3ad32bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f33710b - Browse repository at this point
Copy the full SHA f33710bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24ef857 - Browse repository at this point
Copy the full SHA 24ef857View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f51c2c - Browse repository at this point
Copy the full SHA 8f51c2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdc52cb - Browse repository at this point
Copy the full SHA cdc52cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bc60af - Browse repository at this point
Copy the full SHA 9bc60afView commit details -
Use %w instead of %v for errors
This allows callers to unwrap errors with errors.Is() and errors.As()
Configuration menu - View commit details
-
Copy full SHA for ff2bffa - Browse repository at this point
Copy the full SHA ff2bffaView commit details -
Replace archaic error comparison with errors.Is
This will futureproof us if they ever suddenly change how CheckDecode wraps errors
Configuration menu - View commit details
-
Copy full SHA for 1bd773d - Browse repository at this point
Copy the full SHA 1bd773dView commit details
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.