mirror of https://github.com/sbt/sbt.git
[2.x] ci: Avoid deprecated replaceAllLiterally (#9173)
- b4aa12d2b0
- https://github.com/scala/scala/blob/v2.12.21/src/library/scala/collection/immutable/StringLike.scala#L177-L184
- https://github.com/scala/scala3/blob/3.8.2/library/src/scala/collection/StringOps.scala#L746-L747
This commit is contained in:
parent
590dbbacb8
commit
2dbc85ffcf
|
|
@ -360,7 +360,7 @@ val launcherPackage = (project in file("."))
|
|||
val x = IO.read(k)
|
||||
IO.write(
|
||||
t / "sbt.bat",
|
||||
x.replaceAllLiterally(
|
||||
x.replace(
|
||||
"set init_sbt_version=_to_be_replaced",
|
||||
s"set init_sbt_version=$sbtVersionToRelease"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue