mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 13:48:55 +00:00
16 lines
495 B
TypeScript
16 lines
495 B
TypeScript
import { logger } from '../../../logger';
|
|
import type { UpdateArtifact, UpdateArtifactsResult } from '../types';
|
|
|
|
export default function updateArtifacts({
|
|
updatedDeps,
|
|
}: UpdateArtifact): UpdateArtifactsResult[] | null {
|
|
const res: UpdateArtifactsResult[] = [];
|
|
updatedDeps.forEach((dep) => {
|
|
// TODO: types (#22198)
|
|
logger.info(`Updating submodule ${dep.depName}`);
|
|
res.push({
|
|
file: { type: 'addition', path: dep.depName!, contents: '' },
|
|
});
|
|
});
|
|
return res;
|
|
}
|