diff --git a/lib/datasource/helm/common.spec.ts b/lib/datasource/helm/common.spec.ts index e2f1f32dbfd3910212c54e129ed555c68186dcc8..5cc8818db5277b4f2a819809fec417f05932e4a3 100644 --- a/lib/datasource/helm/common.spec.ts +++ b/lib/datasource/helm/common.spec.ts @@ -15,7 +15,7 @@ describe('datasource/helm/common', () => { ${'airflow'} | ${{ sourceUrl: 'https://github.com/bitnami/charts', sourceDirectory: 'bitnami/airflow' }} ${'coredns'} | ${{ sourceUrl: 'https://github.com/coredns/helm', sourceDirectory: undefined }} ${'pgadmin4'} | ${{ sourceUrl: 'https://github.com/rowanruseler/helm-charts', sourceDirectory: undefined }} - ${'dummy'} | ${undefined} + ${'dummy'} | ${{}} `( '$input -> $output', ({ input, output }: { input: string; output: string }) => { diff --git a/lib/datasource/helm/common.ts b/lib/datasource/helm/common.ts index 26cb20d308aefbc39c6f6212e0efa8f3448b78f8..c183ad7c5ef0d2f0e590ef344c1530e4e423b8fa 100644 --- a/lib/datasource/helm/common.ts +++ b/lib/datasource/helm/common.ts @@ -22,7 +22,7 @@ export function findSourceUrl(release: HelmRelease): RepoSource { } if (!release.sources?.length) { - return undefined; + return {}; } for (const url of release.sources) {