-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: golangci-lint failing due nil check (#333)
Added the fix and introduced `make lint` for local tests dsse/verify.go:98:6: S1009: should omit nil check; len() for []byte is defined as zero (gosimple) if sig.Certificate != nil && len(sig.Certificate) > 0 { ^ Signed-off-by: Kairo Araujo <[email protected]>
- Loading branch information
1 parent
e8606a9
commit 6f4bff5
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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