Skip to content

Commit

Permalink
Formatted files
Browse files Browse the repository at this point in the history
  • Loading branch information
lefou committed Apr 5, 2023
1 parent ebea1b2 commit 8409b80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bsp/src/mill/bsp/BSP.scala
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ object BSP extends ExternalModule with CoursierModule with BspServerStarter {
def install(jobs: Int = 1): Command[(PathRef, ujson.Value)] = T.command {
// we create a file containing the additional jars to load
val libUrls = bspWorkerLibs().map(_.path.toNIO.toUri.toURL).iterator.toSeq
val cpFile = T.workspace / Constants.bspDir / s"${Constants.serverName}-${mill.BuildInfo.millVersion}.resources"
val cpFile =
T.workspace / Constants.bspDir / s"${Constants.serverName}-${mill.BuildInfo.millVersion}.resources"
os.write.over(
cpFile,
libUrls.mkString("\n"),
Expand Down
7 changes: 6 additions & 1 deletion main/util/src/mill/util/SystemStreams.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ package mill.util

import java.io.{InputStream, PrintStream}

class SystemStreams(val out: PrintStream, val err: PrintStream, val in: InputStream, val bspLog: Option[PrintStream] = None)
class SystemStreams(
val out: PrintStream,
val err: PrintStream,
val in: InputStream,
val bspLog: Option[PrintStream] = None
)

0 comments on commit 8409b80

Please sign in to comment.