Files
renovate/lib/modules/manager/terragrunt/artifacts.ts
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00

19 lines
588 B
TypeScript

import { logger } from '../../../logger/index.ts';
import { updateArtifacts as updateTerraformArtifacts } from '../terraform/lockfile/index.ts';
import type { UpdateArtifact, UpdateArtifactsResult } from '../types.ts';
export async function updateArtifacts(
artifact: UpdateArtifact,
): Promise<UpdateArtifactsResult[] | null> {
if (!artifact.config.isLockFileMaintenance) {
logger.debug(
`UpdateType ${
artifact.config.updateType as string
} is not supported for terragrunt`,
);
return null;
}
return await updateTerraformArtifacts(artifact);
}