Skip to content

Commit 134f14f

Browse files
committed
Upgrade to the latest Moped release.
This version includes a fix so that `NO_COLOR=true` should be properly respected now.
1 parent 99b6f0b commit 134f14f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ lazy val V =
1111
val coursier = "2.0.8"
1212
val bloop = "1.4.7"
1313
val bsp = "2.0.0-M13"
14-
val moped = "0.1.9"
14+
val moped = "0.1.10"
1515
def scala213 = "2.13.4"
1616
def scala212 = "2.12.12"
1717
def scalameta = "4.4.8"

lsif-java/src/main/scala/com/sourcegraph/lsif_java/commands/IndexCommand.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import moped.internal.reporters.Levenshtein
1414
import os.CommandResult
1515
import os.Inherit
1616
import os.Shellable
17+
import os.ProcessOutput
1718

1819
@Description(
1920
"Automatically generate an LSIF index in the current working directory."
@@ -70,8 +71,8 @@ case class IndexCommand(
7071
.process(shellable)
7172
.call(
7273
check = false,
73-
stdout = Inherit,
74-
stderr = Inherit,
74+
stdout = ProcessOutput.Readlines(line => app.out.println(line)),
75+
stderr = ProcessOutput.Readlines(line => app.err.println(line)),
7576
cwd = workingDirectory,
7677
env = env
7778
)

0 commit comments

Comments
 (0)