Skip to content

Conversation

@hugo-vrijswijk
Copy link
Contributor

@hugo-vrijswijk hugo-vrijswijk commented Jan 10, 2022

Dotty publishes release versions without a v in the tag, but the Scala.JS source map URI configuration is set with a v prefix. This causes incorrect source map URLs like: https://raw.githubusercontent.com/lampepfl/dotty/v3.1.0/library/src/scala/IArray.scala (this is in the current latest release JAR).

This commit fixes the source map URIs to no longer use the v prefix. Resulting in a URL like: https://raw.githubusercontent.com/lampepfl/dotty/3.1.0/library/src/scala/IArray.scala (for a next release)

Dotty publishes release versions without a `v` in the tag, but the Scala.JS source map URI configuration is published with a `v` prefix. This causes incorrect source map URLs like: https://raw.githubusercontent.com/lampepfl/dotty/v3.1.0/library/src/scala/IArray.scala (this is in the current releases JAR).

This commit fixes the source map URIs to no longer use the `v` prefix.
@smarter smarter enabled auto-merge January 10, 2022 16:46
@smarter
Copy link
Member

smarter commented Jan 10, 2022

Thanks for spotting this!

@smarter smarter merged commit 1e7ad75 into scala:master Jan 10, 2022
@hugo-vrijswijk hugo-vrijswijk deleted the fix/scalajs-source-uri branch January 10, 2022 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants