mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 08:36:26 +00:00
4a8979e88c
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
18 lines
448 B
TypeScript
18 lines
448 B
TypeScript
import { logger } from '../../logger';
|
|
import { UpdateArtifact, UpdateArtifactsResult } from '../common';
|
|
|
|
export default function updateArtifacts({
|
|
updatedDeps,
|
|
}: UpdateArtifact): UpdateArtifactsResult[] | null {
|
|
const res: UpdateArtifactsResult[] = [];
|
|
updatedDeps.forEach((dep) => {
|
|
logger.info('Updating submodule ' + dep);
|
|
res.push({
|
|
file: {
|
|
name: dep,
|
|
contents: '',
|
|
},
|
|
});
|
|
});
|
|
return res;
|
|
}
|