renovate/lib/modules/manager/pyenv/extract.ts

13 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] };
}