mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-31 09:41:46 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
19 lines
588 B
TypeScript
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);
|
|
}
|