mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 00:56:26 +00:00
982d5e9d4d
1. Create interface UpdateArtifact 2. Update function call 3. Update Test
14 lines
284 B
TypeScript
14 lines
284 B
TypeScript
import { UpdateArtifact, UpdateArtifactsResult } from '../common';
|
|
|
|
export default function updateArtifacts({
|
|
updatedDeps,
|
|
}: UpdateArtifact): UpdateArtifactsResult[] | null {
|
|
return [
|
|
{
|
|
file: {
|
|
name: updatedDeps[0],
|
|
contents: '',
|
|
},
|
|
},
|
|
];
|
|
}
|