Skip to content

Commit fc5b0fe

Browse files
committed
Formatting changes after bumping scalafmt
1 parent ca2e5e3 commit fc5b0fe

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

modules/cli/src/main/scala/scala/cli/internal/Pid.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Pid {
66
def get(): Integer =
77
try {
88
val pid = ManagementFactory.getRuntimeMXBean.getName.takeWhile(_ != '@').toInt
9-
(pid: Integer)
9+
pid: Integer
1010
}
1111
catch {
1212
case _: NumberFormatException => null

modules/directives/src/main/scala/scala/build/preprocessing/directives/UsingPlatformDirectiveHandler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ case object UsingPlatformDirectiveHandler extends UsingDirectiveHandler {
7878
scalaOptions = mergedBuildOption.scalaOptions.copy(
7979
extraPlatforms =
8080
mergedBuildOption.scalaOptions.extraPlatforms ++ platforms.tail.map(p =>
81-
(p.value -> Positioned(p.positions, ()))
81+
p.value -> Positioned(p.positions, ())
8282
).toMap
8383
)
8484
)

modules/integration/src/test/scala/scala/cli/integration/TestUtil.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ object TestUtil {
105105

106106
def retryOnCi[T](maxAttempts: Int = 3, waitDuration: FiniteDuration = 5.seconds)(
107107
run: => T
108-
) = retry((if (isCI) maxAttempts else 1), waitDuration)(run)
108+
) = retry(if (isCI) maxAttempts else 1, waitDuration)(run)
109109

110110
// Same as os.RelPath.toString, but for the use of File.separator instead of "/"
111111
def relPathStr(relPath: os.RelPath): String =

project/settings.sc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def cs: T[String] = T.persistent {
108108
if (os.isFile(dest))
109109
dest.toString
110110
else
111-
(downloadOpt().getOrElse(fromPath("cs")): String)
111+
downloadOpt().getOrElse(fromPath("cs")): String
112112
}
113113

114114
def platformExtension: String =

0 commit comments

Comments
 (0)