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 <[email protected]>
  • Loading branch information
Syyllinen committed Jul 12, 2024
1 parent 2651da9 commit 5e3b74a
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 5e3b74a

Please sign in to comment.