mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 09:06:25 +00:00
9 lines
261 B
TypeScript
9 lines
261 B
TypeScript
import { UpdateDependencyConfig } from '../common';
|
|
import { updateAtPosition } from '../maven/update';
|
|
|
|
export function updateDependency({
|
|
fileContent,
|
|
upgrade,
|
|
}: UpdateDependencyConfig): string | null {
|
|
return updateAtPosition(fileContent, upgrade);
|
|
}
|