Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Quafadas committed Apr 16, 2024
1 parent 5eae119 commit 68b814b
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,19 +288,19 @@ class ScalaJSWorkerImpl extends ScalaJSWorkerApi {
.withInheritErr(false)
.withInheritOut(false)
.withOnOutputStream { case (Some(processOut), Some(processErr)) =>
val sources = Seq(
(processOut, System.out, "spawnSubprocess.stdout", false, () => true),
(processErr, System.err, "spawnSubprocess.stderr", false, () => true)
)
val sources = Seq(
(processOut, System.out, "spawnSubprocess.stdout", false, () => true),
(processErr, System.err, "spawnSubprocess.stderr", false, () => true)
)

for ((std, dest, name, checkAvailable, runningCheck) <- sources) {
val t = new Thread(
new mill.main.client.InputPumper(std, dest, checkAvailable, () => runningCheck()),
name
)
t.setDaemon(true)
t.start()
}
for ((std, dest, name, checkAvailable, runningCheck) <- sources) {
val t = new Thread(
new mill.main.client.InputPumper(std, dest, checkAvailable, () => runningCheck()),
name
)
t.setDaemon(true)
t.start()
}
}
Run.runInterruptible(env, input, runConfig)
}
Expand Down

0 comments on commit 68b814b

Please sign in to comment.