Skip to content

Commit f2ce8b5

Browse files
authored
Fix: message error '--build-tools=BUILD_TOOL_NAME' (#303)
1 parent 913282e commit f2ce8b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ case class IndexCommand(
163163
val names = many.map(_.name).mkString(", ")
164164
app.error(
165165
s"Multiple build tools detected: $names. " +
166-
s"To fix this problem, use the '--build-tools=BUILD_TOOL_NAME' flag to specify which build tool to run."
166+
s"To fix this problem, use the '--build-tool=BUILD_TOOL_NAME' flag to specify which build tool to run."
167167
)
168168
1
169169
}

tests/buildTools/src/test/scala/tests/MissingBuildToolSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class MissingBuildToolSuite extends BaseBuildToolSuite {
1414
"ambiguous",
1515
List("index"),
1616
expectedOutput =
17-
"""|error: Multiple build tools detected: Gradle, Maven. To fix this problem, use the '--build-tools=BUILD_TOOL_NAME' flag to specify which build tool to run.
17+
"""|error: Multiple build tools detected: Gradle, Maven. To fix this problem, use the '--build-tool=BUILD_TOOL_NAME' flag to specify which build tool to run.
1818
|""".stripMargin,
1919
workingDirectoryLayout =
2020
"""|/pom.xml

0 commit comments

Comments
 (0)