[App] Fix detecting correct remote repository name.

This commit is contained in:
Kuba Szczodrzyński 2021-04-03 15:13:10 +02:00
parent df7982d11b
commit bf595dd09c

View File

@ -84,7 +84,7 @@ private def buildGitInfo() {
.stream() .stream()
.map { .map {
it.name + "(" + it.URIs.stream() it.name + "(" + it.URIs.stream()
.map { it.rawPath } .map { it.rawPath.stripMargin('/').replace(".git", "") }
.toArray() .toArray()
.join(", ") + ")" .join(", ") + ")"
} }