mirror of
https://github.com/anchore/syft.git
synced 2026-10-31 22:46:36 +01:00
rename testing license scanner
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
@@ -35,9 +35,9 @@ func NewDefaultScanner() Scanner {
|
||||
}
|
||||
}
|
||||
|
||||
// StaticScanner returns a scanner that uses the built-in license scanner from the licensecheck package.
|
||||
// TestingOnlyScanner returns a scanner that uses the built-in license scanner from the licensecheck package.
|
||||
// THIS IS ONLY MEANT FOR TEST CODE, NOT PRODUCTION CODE.
|
||||
func StaticScanner() Scanner {
|
||||
func TestingOnlyScanner() Scanner {
|
||||
return &scanner{
|
||||
coverageThreshold: coverageThreshold,
|
||||
scanner: licensecheck.Scan,
|
||||
|
||||
Reference in New Issue
Block a user