mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[rdct-tests] fix not attached files to TC metadata in case of agents id have difference in digits
GitOrigin-RevId: 3401e5a23e51abbcf0cde267be27617c10f98634
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a761c271a9
commit
bbb71bfe65
@@ -8,9 +8,9 @@ private val maxActionLength = 30
|
||||
|
||||
|
||||
@ApiStatus.Internal
|
||||
fun getAsPartOfArtifactsFileName(text: String): String =
|
||||
text
|
||||
.replace("[^a-zA-Z.]".toRegex(), "_")
|
||||
fun getAsPartOfArtifactsFileName(agentId: String): String =
|
||||
agentId
|
||||
.replace("[^a-zA-Z0-9.]".toRegex(), "_")
|
||||
.replace("_+".toRegex(), "_")
|
||||
|
||||
@ApiStatus.Internal
|
||||
|
||||
Reference in New Issue
Block a user