Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@

# Scala Steward: Reformat with scalafmt 3.8.6
12ea712573e8e3e8b26a9c3bb69ad0e921b8cfbb

# Scala Steward: Reformat with scalafmt 3.9.10
d1b8f7f477c742c2190ca28187e7a34e8f94685a
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = 3.8.6
version = 3.9.10
runner.dialect = "scala213source3"
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def commonSettings(jdk: Int) = Seq(
libraryDependencies ++=
(CrossVersion.partialVersion(scalaVersion.value) match {
case Some((3, _)) => Seq.empty
case _ =>
case _ =>
Seq(
compilerPlugin(
"org.typelevel" % "kind-projector" % "0.13.3" cross CrossVersion.full
Expand Down
6 changes: 3 additions & 3 deletions prox-core/src/main/scala/io/github/vigoo/prox/runner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,8 @@ trait ProcessRunnerModule {
nativeProcess: JvmProcess
): ProxIO[Unit] = {
process.inputRedirection match {
case StdIn() => unit
case InputFile(_) => unit
case StdIn() => unit
case InputFile(_) => unit
case InputStream(stream, flushChunks) =>
drainToJavaOutputStream(
stream,
Expand Down Expand Up @@ -346,7 +346,7 @@ trait ProcessRunnerModule {
outputRedirection match {
case StdOut() => ProcessBuilder.Redirect.INHERIT
case OutputFile(path, false) => ProcessBuilder.Redirect.to(path.toFile)
case OutputFile(path, true) =>
case OutputFile(path, true) =>
ProcessBuilder.Redirect.appendTo(path.toFile)
case OutputStreamThroughPipe(_, _, _) => ProcessBuilder.Redirect.PIPE
case OutputStreamToSink(_, _) => ProcessBuilder.Redirect.PIPE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ trait ProxFS2[F[_]] extends Prox {
acquire: ProxIO[A]
)(use: A => ProxIO[B])(fin: (A, IOResult) => ProxIO[Unit]): ProxIO[B] =
Sync[F](instances).bracketCase(acquire)(use) {
case (value, Outcome.Succeeded(_)) => fin(value, Completed)
case (value, Outcome.Succeeded(_)) => fin(value, Completed)
case (value, Outcome.Errored(error)) =>
fin(value, Failed(List(UnknownProxError(error))))
case (value, Outcome.Canceled()) => fin(value, Canceled)
Expand Down
Loading