renovate/lib/manager/git-submodules/artifacts.ts
Sourav Das 982d5e9d4d refactor(function): Update Artifact Function (#5139)
1. Create interface UpdateArtifact
2. Update function call
3. Update Test
2020-01-17 12:18:34 +01:00

14 lines
284 B
TypeScript

import { UpdateArtifact, UpdateArtifactsResult } from '../common';
export default function updateArtifacts({
updatedDeps,
}: UpdateArtifact): UpdateArtifactsResult[] | null {
return [
{
file: {
name: updatedDeps[0],
contents: '',
},
},
];
}