Skip to content

Commit

Permalink
fix(nuget): don't check children of ContainerBaseImage (#33910)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored Jan 29, 2025
1 parent c0af153 commit cb38cb1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/modules/manager/nuget/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ function extractDepsFromXml(xmlNode: XmlDocument): NugetPackageDependency[] {
if (is.nonEmptyStringAndNotWhitespace(depName)) {
results.push({ ...dep, depName, depType: 'docker' });
}
}

if (elemNames.has(name)) {
} else if (elemNames.has(name)) {
const depName = attr?.Include || attr?.Update;

if (!depName) {
Expand Down

0 comments on commit cb38cb1

Please # to comment.