Skip to content

Commit

Permalink
refactor(bower): Rename a variable
Browse files Browse the repository at this point in the history
This is a fix-up for e288ded.

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
  • Loading branch information
fviernau committed Jul 23, 2024
1 parent 39a638e commit b704120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/package-managers/bower/src/main/kotlin/Bower.kt
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ private fun parseDependencyTree(
// about the subtree rooted at the parent from that other entry containing the full dependency
// information.
// See https://github.com/bower/bower/blob/6bc778d/lib/core/Manager.js#L557 and below.
val alternativeNode = alternativeInfos.getValue(info.key)
return parseDependencyTree(alternativeNode, scopeName, alternativeInfos)
val alternativeInfo = alternativeInfos.getValue(info.key)
return parseDependencyTree(alternativeInfo, scopeName, alternativeInfos)
}

info.getScopeDependencies(scopeName).forEach {
Expand Down

0 comments on commit b704120

Please sign in to comment.