Skip to content

Commit

Permalink
Merge pull request #258 from opentofu/license-threshold
Browse files Browse the repository at this point in the history
Fixes #247: lowering license threshold to 85%
  • Loading branch information
abstractionfactory authored Nov 28, 2024
2 parents faa058d + a173ab7 commit 3159556
Show file tree
Hide file tree
Showing 3 changed files with 8,226 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/internal/license/license_detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ type Config struct {

func (c *Config) ApplyDefaults() error {
if c.ConfidenceThreshold == 0.0 {
c.ConfidenceThreshold = 0.9
c.ConfidenceThreshold = 0.85
}
if c.ConfidenceOverrideThreshold == 0 {
c.ConfidenceOverrideThreshold = 0.98
Expand Down
Loading

0 comments on commit 3159556

Please sign in to comment.