We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d16c64b commit 76cf547Copy full SHA for 76cf547
nuget/lib/dependabot/nuget/metadata_finder.rb
@@ -121,9 +121,7 @@ def dependency_nuspec_url
121
source = dependency.requirements.
122
find { |r| r&.fetch(:source) }&.fetch(:source)
123
124
- if source&.key?(:nuspec_url)
125
- source.fetch(:nuspec_url)
126
- end
+ return source.fetch(:nuspec_url) if source&.key?(:nuspec_url)
127
end
128
129
def dependency_source_url
0 commit comments