diff --git a/lib/datasource/helm/index.ts b/lib/datasource/helm/index.ts index 9eb5bf40f842ff13ee412d3d64e246779d5aabeb..394206d985c244f3239bf04e18e360461d0eae47 100644 --- a/lib/datasource/helm/index.ts +++ b/lib/datasource/helm/index.ts @@ -89,6 +89,11 @@ export class HelmDatasource extends Datasource { lookupName, registryUrl: helmRepository, }: GetReleasesConfig): Promise<ReleaseResult | null> { + // istanbul ignore if + if (!helmRepository) { + return null; + } + const repositoryData = await this.getRepositoryData(helmRepository); if (!repositoryData) { logger.debug(`Couldn't get index.yaml file from ${helmRepository}`); diff --git a/tsconfig.strict.json b/tsconfig.strict.json index fee429149b033bf34d9c6bc9c0408c1b5924f5a7..ee3604b66b4ae51971b96fde4ca2a705154f889f 100644 --- a/tsconfig.strict.json +++ b/tsconfig.strict.json @@ -107,8 +107,6 @@ "lib/datasource/go/types.ts", "lib/datasource/golang-version/index.ts", "lib/datasource/gradle-version/index.ts", - "lib/datasource/helm/common.ts", - "lib/datasource/helm/index.ts", "lib/datasource/index.ts", "lib/datasource/jenkins-plugins/index.ts", "lib/datasource/npm/get.ts",