Skip to content

Commit

Permalink
Flip the version and prefix around
Browse files Browse the repository at this point in the history
  • Loading branch information
dispalt committed May 27, 2023
1 parent 65672c2 commit 2edb119
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/project/Lib.scala
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ object Lib {
Nil
else {
val a = p.base.toURI.toString.replaceFirst("[^/]+/?$", "")
val g = s"https://raw.githubusercontent.com/japgolly/$ghProject/library"
val g = s"https://raw.githubusercontent.com/japgolly/$ghProject"
val flag = if (isDotty) "-scalajs-mapSourceURI" else "-P:scalajs:mapSourceURI"
s"$flag:$a->$g/v$ver/" :: Nil
s"$flag:$a->$g/v$ver/library/" :: Nil
}
}
)
Expand Down Expand Up @@ -179,4 +179,4 @@ object Lib {
publish / skip := ((publish / skip).value || disable.value),
)
}
}
}

0 comments on commit 2edb119

Please sign in to comment.