mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 15:01:49 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
11 lines
271 B
TypeScript
11 lines
271 B
TypeScript
import type { RangeStrategy } from '../../../types/index.ts';
|
|
import type { RangeConfig } from '../types.ts';
|
|
|
|
export function getRangeStrategy({ currentValue }: RangeConfig): RangeStrategy {
|
|
if (currentValue) {
|
|
return 'replace';
|
|
}
|
|
|
|
return 'update-lockfile';
|
|
}
|