Skip to content

Commit 71ff00b

Browse files
authored
Update build.mill
1 parent f8ea91c commit 71ff00b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.mill

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ object fastparse extends Module{
3838
case tag if vcsState.commitsSinceLastTag == 0 =>
3939
val baseUrl = pomSettings().url.replace("github.com", "raw.githubusercontent.com")
4040
val sourcesOptionName = if(isScala3(crossScalaVersion)) "-scalajs-mapSourceURI" else "-P:scalajs:mapSourceURI"
41-
s"$sourcesOptionName:${Task.workspace.toIO.toURI}->$baseUrl/$tag/"
41+
s"$sourcesOptionName:${mill.api.BuildCtx.workspaceRoot.toIO.toURI}->$baseUrl/$tag/"
4242
}
4343
}
4444

0 commit comments

Comments
 (0)