Skip to content

Commit

Permalink
review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidanio committed Dec 11, 2023
1 parent cf1e22f commit 6a523be
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/kotlin/com/vk/admstorm/AdmStartupService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,7 @@ class AdmStartupService(private var project: Project) {
val service = Env.data.services.getByKey("jira") ?: return
val url = service.url + "/browse/\$0"

val isExist = navigationConfig.links.any { it ->
it.linkRegexp == url
}

val isExist = navigationConfig.links.any { it.linkRegexp == url }
if (!isExist) {
val jiraLink = IssueNavigationLink("[A-Z]+\\-\\d+", url)
navigationConfig.links.add(jiraLink)
Expand Down

0 comments on commit 6a523be

Please sign in to comment.