Skip to content

fix: don't check slice nilness before checking length #294

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

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

njvrzm
Copy link
Contributor

@njvrzm njvrzm commented Sep 9, 2024

The latest version of golangci-lint makes this an error; this will prevent PR failures like those we're seeing in the athena datasource.

@njvrzm njvrzm requested a review from a team as a code owner September 9, 2024 11:16
@njvrzm njvrzm requested review from kevinwcyu and nmarrs September 9, 2024 11:16
@njvrzm njvrzm self-assigned this Sep 9, 2024
@njvrzm njvrzm force-pushed the njvrzm/fix-golangci-lint-complaint branch from 7d5d4b0 to 8ddafd6 Compare September 9, 2024 11:32
@njvrzm njvrzm merged commit ed6a6bf into main Sep 9, 2024
4 checks passed
@njvrzm njvrzm deleted the njvrzm/fix-golangci-lint-complaint branch September 9, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants