mirror of https://github.com/renovatebot/renovate
13 lines
402 B
TypeScript
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] };
|
|
}
|