Skip to content

Commit

Permalink
fix null
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfedr committed May 16, 2022
1 parent 623bb88 commit d6cf9e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/modules/datasource/terraform-module/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class TerraformModuleDatasource extends TerraformDatasource {
serviceDiscovery: ServiceDiscoveryResult,
registryUrl: string,
repository: string
): Promise<ReleaseResult> {
): Promise<ReleaseResult | null> {
let res: TerraformRelease;
let pkgUrl: string;

Expand Down Expand Up @@ -119,7 +119,7 @@ export class TerraformModuleDatasource extends TerraformDatasource {
serviceDiscovery: ServiceDiscoveryResult,
registryUrl: string,
repository: string
): Promise<ReleaseResult> {
): Promise<ReleaseResult | null> {
let res: TerraformModuleVersions;
let pkgUrl: string;
try {
Expand Down

0 comments on commit d6cf9e8

Please sign in to comment.