Skip to content

Commit

Permalink
fix(sbt): Filter out garbage from sbt projects command
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Salmi <Syyllinen@users.noreply.github.com>
  • Loading branch information
Syyllinen authored and sschuberth committed Jul 13, 2024
1 parent 144588e commit 90226f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/package-managers/sbt/src/main/kotlin/Sbt.kt
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class Sbt(
private const val SBT_VERSION_PATTERN = "\\d(\\.\\d+){2}(-\\w+)?"

private val VERSION_REGEX = Regex("\\[info]\\s+($SBT_VERSION_PATTERN)")
private val PROJECT_REGEX = Regex("\\[info] \t [ *] (.+)")
private val PROJECT_REGEX = Regex("\\[info] \t [ *] (\\S+)")
private val POM_REGEX = Regex("\\[info] Wrote (.+\\.pom)")

// Batch mode (which suppresses interactive prompts) is not supported on Windows, compare
Expand Down

0 comments on commit 90226f2

Please sign in to comment.