Skip to content

Commit 6af74c1

Browse files
committed
chore: comment out exclusions for now - will address in 1059
1 parent 5b5372d commit 6af74c1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

internal/mocks/uvclient.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ func (m *MockUVClient) ExportSBOM(inputDir string) (*scaplugin.Finding, error) {
2020
return m.ExportSBOMFunc(inputDir)
2121
}
2222
return &scaplugin.Finding{
23-
Sbom: []byte(`{"mock":"sbom"}`),
23+
Sbom: []byte(`{"mock":"sbom"}`),
2424
FileExclusions: []string{
25-
path.Join(inputDir, uv.RequirementsTxtFileName),
26-
path.Join(inputDir, uv.PyprojectTomlFileName),
25+
// TODO(uv): uncomment when we are able to pass these to the CLI correctly. Currently the
26+
// `--exclude` flag does not accept paths, it only accepts file or dir names, which does not
27+
// work for our use case.
28+
// path.Join(inputDir, uv.RequirementsTxtFileName),
29+
// path.Join(inputDir, uv.PyprojectTomlFileName),
2730
},
2831
NormalisedTargetFile: uv.UvLockFileName,
2932
}, nil

0 commit comments

Comments
 (0)