renovate/lib/modules/manager/conan/range.ts

9 lines
246 B
TypeScript

import type { RangeStrategy } from '../../../types';
import type { RangeConfig } from '../types';
export function getRangeStrategy({
rangeStrategy,
}: RangeConfig): RangeStrategy {
return rangeStrategy === 'auto' ? 'bump' : rangeStrategy;
}