Skip to content

Commit

Permalink
Tweak imports
Browse files Browse the repository at this point in the history
Fixes issue reported by "gci" static analyzer.
  • Loading branch information
JeremyRand committed Oct 17, 2020
1 parent fbd9e82 commit 7f7eb3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
# lint with mandatory linters only. Add more like this:
# --disable=foo,bar
- go get -v -d -t ./...
- bash testdata/golangci-linter.bash --disable=exhaustive,gci,godot,gofumpt,nlreturn
- bash testdata/golangci-linter.bash --disable=exhaustive,godot,gofumpt,nlreturn
- os: linux
stage: lint
language: go
Expand Down
4 changes: 3 additions & 1 deletion cryptoapi_windows.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package certinject

import (
"crypto/sha1" // #nosec G505

// #nosec G505
"crypto/sha1"
"crypto/x509"
"encoding/hex"
"errors"
Expand Down

0 comments on commit 7f7eb3d

Please sign in to comment.