0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-01-12 22:29:06 +00:00
renovatebot_renovate/lib/modules/manager/pyenv/extract.ts

12 lines
402 B
TypeScript

import { DockerDatasource } from '../../datasource/docker';
import type { PackageDependency, PackageFileContent } from '../types';
export function extractPackageFile(content: string): PackageFileContent {
const dep: PackageDependency = {
depName: 'python',
commitMessageTopic: 'Python',
currentValue: content.trim(),
datasource: DockerDatasource.id,
};
return { deps: [dep] };
}