Skip to content
Snippets Groups Projects
Unverified Commit 44645952 authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

fix(argocd): filter objects before parsing (#19789)

parent aa4e1670
No related branches found
No related tags found
No related merge requests found
...@@ -81,6 +81,7 @@ export function extractPackageFile( ...@@ -81,6 +81,7 @@ export function extractPackageFile(
} }
const deps = definitions const deps = definitions
.filter(is.plainObject)
.map((definition) => createDependency(definition)) .map((definition) => createDependency(definition))
.filter(is.truthy); .filter(is.truthy);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment