renovate/lib/modules/manager/pyenv/extract.ts
Rhys Arkins dca3418bbd refactor: lib/modules (#14488)
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
2022-03-04 09:04:02 +01:00

11 lines
354 B
TypeScript

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