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

9 lines
245 B
TypeScript

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