rename testing license scanner

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman
2024-10-21 17:27:40 +01:00
committed by Weston Steimel
parent 4fd1828ba9
commit c5fba2d0e4
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -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,