mirror of
https://github.com/renovatebot/renovate.git
synced 2025-03-12 15:26:58 +00:00
12 lines
347 B
TypeScript
12 lines
347 B
TypeScript
import { AbstractMigration } from '../base/abstract-migration';
|
|
|
|
export class UpgradeInRangeMigration extends AbstractMigration {
|
|
override readonly deprecated = true;
|
|
override readonly propertyName = 'upgradeInRange';
|
|
|
|
override run(value: unknown): void {
|
|
if (value === true) {
|
|
this.setSafely('rangeStrategy', 'bump');
|
|
}
|
|
}
|
|
}
|