Skip to content

Commit

Permalink
fix license check
Browse files Browse the repository at this point in the history
  • Loading branch information
gemmahou committed Mar 22, 2024
1 parent 8bc66bf commit c124908
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/generate-third-party-licenses/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ func repoToLicenseURL(repo string, licenseFilename string) string {
return fmt.Sprintf("https://github.com/go-yaml/yaml/blob/v2.2.2/%v", licensePathInRepo)
case "yaml.v3":
return fmt.Sprintf("https://github.com/go-yaml/yaml/blob/v3/%v", licensePathInRepo)
case "dnaeon/go-vcr.v3":
return fmt.Sprintf("https://github.com/dnaeon/go-vcr/blob/v3/%v", licensePathInRepo)
default:
panic(fmt.Sprintf("unhandled domain for repo %v", repo))
}
Expand Down

0 comments on commit c124908

Please sign in to comment.