Skip to content
Snippets Groups Projects
Unverified Commit fca865b0 authored by Sergei Zharinov's avatar Sergei Zharinov Committed by GitHub
Browse files

refactor(datasource/helm): Enable strict null checks (#14040)

parent cdd9b44a
No related branches found
No related tags found
No related merge requests found
......@@ -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}`);
......
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment