Skip to content

Commit

Permalink
Flux: Simplify as requested
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
  • Loading branch information
samip5 and viceice committed May 21, 2023
1 parent 63e2388 commit 94bebcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/manager/flux/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function resolveResourceManifest(
.filter(is.string);

// if registryUrls is empty, delete it from dep
if (dep.registryUrls && dep.registryUrls.length === 0) {
if (!dep.registryUrls?.length) {
delete dep.registryUrls;
}
} else {
Expand Down

0 comments on commit 94bebcb

Please sign in to comment.