Skip to content

Commit

Permalink
Merge pull request #2309 from martincostello/Fix-NoMethodError-With-N…
Browse files Browse the repository at this point in the history
…uGet-PackageVersion

Fix NoMethodError when updating NuGet packages from Directory.Packages.props
  • Loading branch information
feelepxyz committed Jul 17, 2020
2 parents da5b1db + 263d185 commit ab0a8a1
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -46,6 +46,7 @@ def declaration_nodes
def get_element_from_node(node)
node.at_xpath("/PackageReference") ||
node.at_xpath("/GlobalPackageReference") ||
node.at_xpath("/PackageVersion") ||
node.at_xpath("/Dependency") ||
node.at_xpath("/DevelopmentDependency")
end
Expand Down

0 comments on commit ab0a8a1

Please sign in to comment.