Skip to content

Commit f1062f4

Browse files
authored
get admin/scalafmt.sh working again (#375)
recently this started failing on Travis-CI note that the scalafmt version we're using is antiquated and doesn't like trailing commas in build.sbt. I didn't attempt an upgrade
1 parent c6ddfef commit f1062f4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

admin/scalafmt.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ COURSIER="$HERE/.coursier"
88
SCALAFMT="$HERE/.scalafmt-$VERSION"
99

1010
if [ ! -f $COURSIER ]; then
11-
curl -L -o $COURSIER https://git.io/vgvpD
11+
# note that the launch script we're using here is considered antiquated and was removed by
12+
# https://github.com/coursier/coursier/pull/1565
13+
curl -L -o $COURSIER 'https://github.com/coursier/coursier/blob/483c980e784cf33168be94cfc1e5682f56d71142/coursier?raw=true'
1214
chmod +x $COURSIER
1315
fi
1416

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ lazy val compat = MultiScalaCrossProject(JSPlatform, JVMPlatform, NativePlatform
7474
import com.typesafe.tools.mima.core._
7575
import com.typesafe.tools.mima.core.ProblemFilters._
7676
Seq(
77-
exclude[ReversedMissingMethodProblem]("scala.collection.compat.PackageShared.*"), // it's package-private
77+
exclude[ReversedMissingMethodProblem]("scala.collection.compat.PackageShared.*") // it's package-private
7878
)
7979
},
8080
)

0 commit comments

Comments
 (0)