Skip to content

Commit aa82aff

Browse files
committed
Satisfy codacy
1 parent 6e159c1 commit aa82aff

File tree

1 file changed

+3
-3
lines changed
  • modules/core/src/main/scala/org/scalasteward/core/vcs

1 file changed

+3
-3
lines changed

modules/core/src/main/scala/org/scalasteward/core/vcs/package.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ package object vcs {
7373
possibleFilenames(baseNames)
7474
}
7575

76-
private def getRepoVCSType(
76+
private[this] def extractRepoVCSType(
7777
vcsType: SupportedVCS,
7878
vcsUri: Uri,
7979
repoUrl: Uri
@@ -103,7 +103,7 @@ package object vcs {
103103
val from = update.currentVersion
104104
val to = update.nextVersion
105105

106-
getRepoVCSType(vcsType, vcsUri, repoUrl)
106+
extractRepoVCSType(vcsType, vcsUri, repoUrl)
107107
.map {
108108
case GitHub | Gitlab =>
109109
possibleTags(from).zip(possibleTags(to)).map {
@@ -124,7 +124,7 @@ package object vcs {
124124
repoUrl: Uri,
125125
update: Update
126126
): List[ReleaseRelatedUrl] = {
127-
val repoVCSType = getRepoVCSType(vcsType, vcsUri, repoUrl)
127+
val repoVCSType = extractRepoVCSType(vcsType, vcsUri, repoUrl)
128128

129129
val github = repoVCSType
130130
.collect {

0 commit comments

Comments
 (0)