Skip to content

Commit

Permalink
chore: linter/unit fix
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Phillips <[email protected]>
  • Loading branch information
spiffcs committed Dec 13, 2024
1 parent 6b7bbde commit 1f7d2bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions grype/internal/packagemetadata/discover_type_names.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import (

var metadataExceptions = strset.New(
"FileMetadata",
"PURLFileMetadata",
"PURLLiteralMetadata",
)

func DiscoverTypeNames() ([]string, error) {
Expand Down
2 changes: 1 addition & 1 deletion grype/pkg/purl_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package pkg
import (
"bufio"
"fmt"
"github.com/anchore/syft/syft/source"
"io"
"os"
"strings"
Expand All @@ -16,6 +15,7 @@ import (
"github.com/anchore/syft/syft/linux"
"github.com/anchore/syft/syft/pkg"
"github.com/anchore/syft/syft/sbom"
"github.com/anchore/syft/syft/source"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion grype/pkg/purl_provider_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package pkg

import (
"github.com/anchore/syft/syft/source"
"testing"

"github.com/google/go-cmp/cmp"
Expand All @@ -12,6 +11,7 @@ import (
"github.com/anchore/syft/syft/linux"
"github.com/anchore/syft/syft/pkg"
"github.com/anchore/syft/syft/sbom"
"github.com/anchore/syft/syft/source"
)

func Test_PurlProvider(t *testing.T) {
Expand Down

0 comments on commit 1f7d2bb

Please sign in to comment.