Skip to content

Commit

Permalink
fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Apr 26, 2024
1 parent 16a62e0 commit 18da7b1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
10 changes: 6 additions & 4 deletions pkg/dependency/parser/conda/environment/parse.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
package environment

import (
"sort"
"strings"

"golang.org/x/xerrors"
"gopkg.in/yaml.v3"

"github.com/aquasecurity/trivy/pkg/dependency/types"
"github.com/aquasecurity/trivy/pkg/log"
xio "github.com/aquasecurity/trivy/pkg/x/io"
"golang.org/x/xerrors"
"gopkg.in/yaml.v3"
"sort"
"strings"
)

type environment struct {
Expand Down
8 changes: 5 additions & 3 deletions pkg/fanal/analyzer/language/conda/environment/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ package environment

import (
"context"
"os"
"path/filepath"

"golang.org/x/xerrors"

"github.com/aquasecurity/trivy/pkg/dependency/parser/conda/environment"
"github.com/aquasecurity/trivy/pkg/fanal/analyzer"
"github.com/aquasecurity/trivy/pkg/fanal/analyzer/language"
"github.com/aquasecurity/trivy/pkg/fanal/types"
"golang.org/x/xerrors"
"os"
"path/filepath"
)

func init() {
Expand Down

0 comments on commit 18da7b1

Please sign in to comment.