mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 06:51:11 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
17 lines
508 B
TypeScript
17 lines
508 B
TypeScript
import { logger } from '../../../logger/index.ts';
|
|
import type { UpdateArtifact, UpdateArtifactsResult } from '../types.ts';
|
|
|
|
export default function updateArtifacts({
|
|
updatedDeps,
|
|
}: UpdateArtifact): UpdateArtifactsResult[] | null {
|
|
const res: UpdateArtifactsResult[] = [];
|
|
updatedDeps.forEach((dep) => {
|
|
// TODO: types (#22198)
|
|
logger.debug(`Updating submodule ${dep.depName}`);
|
|
res.push({
|
|
file: { type: 'addition', path: dep.depName!, contents: '' },
|
|
});
|
|
});
|
|
return res;
|
|
}
|