diff --git a/plugins/package-managers/bower/src/main/kotlin/Bower.kt b/plugins/package-managers/bower/src/main/kotlin/Bower.kt index 2b5b7e9a65fd..bef9a66188a2 100644 --- a/plugins/package-managers/bower/src/main/kotlin/Bower.kt +++ b/plugins/package-managers/bower/src/main/kotlin/Bower.kt @@ -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 {