mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-24 21:46:25 +00:00
dca3418bbd
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/ BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
15 lines
466 B
TypeScript
15 lines
466 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) => {
|
|
logger.info('Updating submodule ' + dep.depName);
|
|
res.push({
|
|
file: { type: 'addition', path: dep.depName, contents: '' },
|
|
});
|
|
});
|
|
return res;
|
|
}
|