Skip to content

Commit 712d751

Browse files
palves-ulhtjoao-marques-a22108693
authored andcommitted
fix link to the assignment's github page on the assignment detail and the build report
1 parent 5584d88 commit 712d751

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/org/dropProject/dao/Assignment.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ data class Assignment(
209209

210210
val parts = gitRepositoryUrl.split(":")
211211
val hostAndPath = parts[1].removeSuffix(".git").split("/")
212-
val username = parts[0].substringAfter("@")
213-
val host = hostAndPath[0]
212+
val host = parts[0].substringAfter("@")
213+
val username = hostAndPath[0]
214214
val repositoryName = hostAndPath[1]
215215

216216
return "https://$host/$username/$repositoryName"

0 commit comments

Comments
 (0)