Skip to content

Commit

Permalink
Merge pull request #134 from xuwei-k/patch-3
Browse files Browse the repository at this point in the history
avoid deprecated java.net.URL constructor
  • Loading branch information
mdedetrich authored Oct 14, 2024
2 parents 74d10fb + 3f4a8a3 commit 6ccd597
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ object LicenseReport {
None
else {
val licenses = dep.licenses
val homepage = dep.homepage.map(string => new URL(string))
val homepage = dep.homepage.map(string => new URI(string).toURL)
Some(
DepLicense(
getModuleInfo(dep),
Expand Down

0 comments on commit 6ccd597

Please sign in to comment.