Skip to content

Commit

Permalink
Update github/src/main/scala/org/typelevel/sbt/TypelevelGitHubPlugin.…
Browse files Browse the repository at this point in the history
…scala


Added slash on not specified
  • Loading branch information
j-mie6 authored Sep 15, 2023
1 parent 75686d9 commit f5e0b2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ object TypelevelGitHubPlugin extends AutoPlugin {
infoOpt.toSeq flatMap { info =>
val path =
// see https://github.com/scala/bug/issues/12867#issuecomment-1718481858
if (minor > 13 || minor == 13 && patch.exists(_ >= 12))
if (minor > 13 || minor == 13 && patch.forall(_ >= 12))
s"${info.browseUrl}/blob/${vh}/€{FILE_PATH}.scala"
else s"${info.browseUrl}/blob/${vh}€{FILE_PATH}.scala"
Seq("-doc-source-url", path)
Expand Down

0 comments on commit f5e0b2f

Please sign in to comment.