Skip to content

Commit

Permalink
post merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek committed Apr 7, 2023
1 parent d0b1151 commit df0bbca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,4 @@ class WorkspaceFolders(
}
}

// private def createServices(folders: List[Folder]): List[MetalsLspService] =
// folders
// .map(createService)

}
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,11 @@ object MetalsLogger {

class MutipleOutputsStream(outputs: List[OutputStream]) extends OutputStream {
override def write(b: Int): Unit = outputs.foreach(_.write(b))

override def write(b: Array[Byte], off: Int, len: Int): Unit =
outputs.foreach(_.write(b, off, len))

override def flush(): Unit = outputs.foreach(_.flush())

override def close(): Unit = outputs.foreach(_.close())
}
2 changes: 1 addition & 1 deletion tests/slow/src/test/scala/tests/sbt/SbtServerSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class SbtServerSuite
code <- startSbtServer
_ = assert(code == 0)
_ = assert(workspace.resolve(".bsp/sbt.json").exists)
_ <- initializer.initialize(workspace, server, client, layout, false)
_ <- initializer.initialize(workspace, server, client, false)
_ <- server.initialized()
} yield {
// should not contain the 'Navigation will not work for this build due to mis-configuration.' message
Expand Down

0 comments on commit df0bbca

Please sign in to comment.