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

12 lines
354 B
TypeScript
Raw Normal View History

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